@imbricate/core
Version:
Imbricate Core, Notebook for Engineers
20 lines (19 loc) • 921 B
JavaScript
;
/**
* @author WMXPY
* @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";