lebel-studio / web /libs /editor /src /utils /errors.js
bisalsaha's picture
Upload 8831 files
a7060a0 verified
Raw History Blame Contribute Delete
362 Bytes
/**
* Custom error class for configuration errors that should not be sent to Sentry
* Used for user/configuration issues rather than code bugs
*/
export class ConfigurationError extends Error {
constructor(message) {
super(message);
this.name = "ConfigurationError";
// Mark this error to be skipped by Sentry
this.sentry_skip = true;
}
}