UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

20 lines (19 loc) 897 B
"use strict"; /** * @author WMXPY * @namespace Error * @description Feature Not Supported */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateStaticManagerFeatureNotSupportedError = void 0; const static_manager_error_1 = require("./static-manager-error"); class ImbricateStaticManagerFeatureNotSupportedError extends static_manager_error_1.ImbricateStaticManagerError { static withFeature(feature) { return new ImbricateStaticManagerFeatureNotSupportedError(`Feature ${feature} is not supported`, feature); } constructor(message, reason) { super(message, ImbricateStaticManagerFeatureNotSupportedError.TYPE, reason); } } exports.ImbricateStaticManagerFeatureNotSupportedError = ImbricateStaticManagerFeatureNotSupportedError; ImbricateStaticManagerFeatureNotSupportedError.TYPE = "IMBRICATE_STATIC_MANAGER_FEATURE_NOT_SUPPORTED";