@sitecore/sc-contenthub-webclient-sdk
Version:
Sitecore Content Hub WebClient SDK.
13 lines • 495 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationError = void 0;
class ValidationError extends Error {
constructor(message, ...failures) {
super(message);
this.name = "ValidationError";
Object.setPrototypeOf(this, new.target.prototype);
this.failures = [...(failures !== null && failures !== void 0 ? failures : [])];
}
}
exports.ValidationError = ValidationError;
//# sourceMappingURL=validation-error.js.map