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