@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
18 lines (15 loc) • 404 B
JavaScript
/**
* An error emitted by Sentry SDKs and related utilities.
* @deprecated This class is no longer used and will be removed in a future version. Use `Error` instead.
*/
class SentryError extends Error {
constructor(
message,
logLevel = 'warn',
) {
super(message);this.message = message;
this.logLevel = logLevel;
}
}
export { SentryError };
//# sourceMappingURL=error.js.map