@supernova-studio/model 0.47.6 → 0.47.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/utils/errors.ts +6 -1
package/dist/index.mjs
CHANGED
|
@@ -3732,6 +3732,9 @@ var SupernovaException = class _SupernovaException extends Error {
|
|
|
3732
3732
|
static wrongFormat(message) {
|
|
3733
3733
|
return new _SupernovaException("WrongFormat", message);
|
|
3734
3734
|
}
|
|
3735
|
+
static validationError(message) {
|
|
3736
|
+
return new _SupernovaException("ValidationError", message);
|
|
3737
|
+
}
|
|
3735
3738
|
static accessDenied(message) {
|
|
3736
3739
|
return new _SupernovaException("AccessDenied", message);
|
|
3737
3740
|
}
|