UNPKG

@enonic/mock-xp

Version:

Mock Enonic XP API JavaScript Library

20 lines (19 loc) 987 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationNotPermittedException = exports.OPERATION_NOT_PERMITTED_EXCEPTION_NAME = void 0; var tslib_1 = require("tslib"); var RuntimeException_1 = require("../exception/RuntimeException"); exports.OPERATION_NOT_PERMITTED_EXCEPTION_NAME = 'com.enonic.xp.node.OperationNotPermittedException'; var OperationNotPermittedException = (function (_super) { tslib_1.__extends(OperationNotPermittedException, _super); function OperationNotPermittedException(message) { var _this = _super.call(this, message) || this; if (Error.captureStackTrace) { Error.captureStackTrace(_this, OperationNotPermittedException); } _this.name = exports.OPERATION_NOT_PERMITTED_EXCEPTION_NAME; return _this; } return OperationNotPermittedException; }(RuntimeException_1.RuntimeException)); exports.OperationNotPermittedException = OperationNotPermittedException;