2.1.0 • Published 5 months ago

@exodus/error-tracking v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@exodus/error-tracking

A simple namespaces error tracking package to let any feature collect errors and create the report

Install

yarn add @exodus/error-tracking

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

Play with it

  1. Open the playground https://exodus-hydra.pages.dev/features/errors
  2. Try out the some methods via the UI. These corresponds 1:1 with the exodus.errors API.
  3. Run await exodus.errors.track({ namespace: 'balances', error: 'Encountered an issue when computing total balances', context: {} }) in the Dev Tools Console.

API Side

See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.

await exodus.errors.track({ namespace, error, context: {} })
await exodus.errors.trackRemote({ error })

If you're building a feature and like to use error tracking inside that feature, you can depend on errorTracking and will receive the module with a track method that is auto-namespaced to your feature id.

2.1.0

5 months ago

2.0.0

7 months ago

1.5.1

7 months ago

1.5.0

8 months ago

1.4.1

8 months ago

1.4.0

8 months ago

1.3.1

10 months ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago