UNPKG

contensis-core-api

Version:

A dependency library used by contensis-delivery-api and contensis-management-api

26 lines 1.09 kB
import { __extends } from "tslib"; var ContensisApplicationError = /** @class */ (function (_super) { __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)); export { ContensisApplicationError }; var ContensisAuthenticationError = /** @class */ (function (_super) { __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)); export { ContensisAuthenticationError }; //# sourceMappingURL=errors.js.map