contensis-core-api
Version:
A dependency library used by contensis-delivery-api and contensis-management-api
29 lines (28 loc) • 1.29 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContensisAuthenticationError = exports.ContensisApplicationError = void 0;
var tslib_1 = require("tslib");
var ContensisApplicationError = /** @class */ (function (_super) {
tslib_1.__extends(ContensisApplicationError, _super);
function ContensisApplicationError(message) {
var _newTarget = this.constructor;
var _this = _super.call(this, message) || this;
_this.name = 'ContensisApplicationError';
Object.setPrototypeOf(_this, _newTarget.prototype);
return _this;
}
return ContensisApplicationError;
}(Error));
exports.ContensisApplicationError = ContensisApplicationError;
var ContensisAuthenticationError = /** @class */ (function (_super) {
tslib_1.__extends(ContensisAuthenticationError, _super);
function ContensisAuthenticationError(message) {
var _newTarget = this.constructor;
var _this = _super.call(this, message) || this;
_this.name = 'ContensisAuthenticationError';
Object.setPrototypeOf(_this, _newTarget.prototype);
return _this;
}
return ContensisAuthenticationError;
}(Error));
exports.ContensisAuthenticationError = ContensisAuthenticationError;