File: //home/cafsindia/snap.cafsinfotech.in/node_modules/@sentry/utils/esm/error.js.map
{"version":3,"file":"error.js","sources":["../../src/error.ts"],"sourcesContent":["import type { ConsoleLevel } from './logger';\n\n/** An error emitted by Sentry SDKs and related utilities. */\nexport class SentryError extends Error {\n /** Display name of this error instance. */\n public name: string;\n\n public logLevel: ConsoleLevel;\n\n public constructor(public message: string, logLevel: ConsoleLevel = 'warn') {\n super(message);\n\n this.name = new.target.prototype.constructor.name;\n // This sets the prototype to be `Error`, not `SentryError`. It's unclear why we do this, but commenting this line\n // out causes various (seemingly totally unrelated) playwright tests consistently time out. FYI, this makes\n // instances of `SentryError` fail `obj instanceof SentryError` checks.\n Object.setPrototypeOf(this, new.target.prototype);\n this.logLevel = logLevel;\n }\n}\n"],"names":[],"mappings":"AAEA;AACA,MAAA,WAAA,SAAA,KAAA,CAAA;AACA;;AAKA,GAAA,WAAA,EAAA,OAAA,EAAA,QAAA,GAAA,MAAA,EAAA;AACA,IAAA,KAAA,CAAA,OAAA,CAAA,CAAA,IAAA,CAAA,OAAA,GAAA,OAAA,CACA;AACA,IAAA,IAAA,CAAA,IAAA,GAAA,GAAA,CAAA,MAAA,CAAA,SAAA,CAAA,WAAA,CAAA,IAAA,CAAA;AACA;AACA;AACA;AACA,IAAA,MAAA,CAAA,cAAA,CAAA,IAAA,EAAA,GAAA,CAAA,MAAA,CAAA,SAAA,CAAA,CAAA;AACA,IAAA,IAAA,CAAA,QAAA,GAAA,QAAA,CAAA;AACA,GAAA;AACA;;;;"}