@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
15 lines (14 loc) • 410 B
JavaScript
// src/utils/error.ts
/**
* 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.
*/
var SentryError = class extends Error {
constructor(message, logLevel = "warn") {
super(message);
this.message = message;
this.logLevel = logLevel;
}
};
export { SentryError };
//# sourceMappingURL=error.js.map