Base exception class for other packages with built-in OpenTelemetry support.
npm i @code-like-a-carpenter/exception
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.
Please see contributing guidelines at the project homepage.
MIT © Ian Remmel 2023 until at least now