Skip to Content
HydraError TrackingInterfacesInterface: ErrorTrackingModule

hydra


Interface: ErrorTrackingModule

Defined in: module/index.d.ts:3

Methods

track()

track(params): Promise<void>

Defined in: module/index.d.ts:15

Track an error

Parameters

ParameterType
params{ context?: any; error: Error; namespace: string; }
params.context?any
params.errorError
params.namespacestring

Returns

Promise<void>

Example

errorTracking.track({
  namespace: 'balances',
  error: new Error('Encountered an issue when computing total balances'),
  context: {},
})

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right