@imbricate/core
Version:
Imbricate Core, Notebook for Engineers
20 lines (19 loc) • 816 B
JavaScript
;
/**
* @author WMXPY
* @namespace Error
* @description Static Feature Not Supported
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ImbricateStaticFeatureNotSupportedError = void 0;
const static_error_1 = require("./static-error");
class ImbricateStaticFeatureNotSupportedError extends static_error_1.ImbricateStaticError {
static withFeature(feature) {
return new ImbricateStaticFeatureNotSupportedError(`Feature ${feature} is not supported`, feature);
}
constructor(message, reason) {
super(message, ImbricateStaticFeatureNotSupportedError.TYPE, reason);
}
}
exports.ImbricateStaticFeatureNotSupportedError = ImbricateStaticFeatureNotSupportedError;
ImbricateStaticFeatureNotSupportedError.TYPE = "IMBRICATE_STATIC_FEATURE_NOT_SUPPORTED";