@code-like-a-carpenter/exception
v2.4.0
Published
Base exception class for other packages with built-in OpenTelemetry support.
Downloads
429
Readme
@code-like-a-carpenter/exception
Base exception class for other packages with built-in OpenTelemetry support.
Table of Contents
Install
npm i @code-like-a-carpenter/exception
Usage
This class doesn't do much on its own, but it starts as a common point for other
exceptions to extend from. Most usefully, however, captureException
from
@code-like-a-carpenter/telemetry
will look for the telemetry
field and attach any discovered properties as attributes to the span.
Maintainer
Contributing
Please see contributing guidelines at the project homepage.
License
MIT © Ian Remmel 2023 until at least now