UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

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