UNPKG

@imbricate/core

Version:

Imbricate Core, Notebook for Engineers

19 lines (18 loc) 904 B
"use strict"; /** * @namespace Error * @description Feature Not Supported */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ImbricateDatabaseManagerFeatureNotSupportedError = void 0; const database_manager_error_1 = require("./database-manager-error"); class ImbricateDatabaseManagerFeatureNotSupportedError extends database_manager_error_1.ImbricateDatabaseManagerError { static withFeature(feature) { return new ImbricateDatabaseManagerFeatureNotSupportedError(`Feature ${feature} is not supported`, feature); } constructor(message, reason) { super(message, ImbricateDatabaseManagerFeatureNotSupportedError.TYPE, reason); } } exports.ImbricateDatabaseManagerFeatureNotSupportedError = ImbricateDatabaseManagerFeatureNotSupportedError; ImbricateDatabaseManagerFeatureNotSupportedError.TYPE = "IMBRICATE_DATABASE_MANAGER_FEATURE_NOT_SUPPORTED";