Spaces:
Configuration error
Configuration error
Download web/libs/editor/src/utils/errors.js from bisalsaha/lebel-studio: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/utils/errors.js
- Command line
-
hf download hf://spaces/bisalsaha/lebel-studio/web/libs/editor/src/utils/errors.js
-
curl -L -o errors.js https://huggingface.co/spaces/bisalsaha/lebel-studio/resolve/main/web/libs/editor/src/utils/errors.js
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; | |
| } | |
| } | |