UNPKG

xml-fiesta

Version:

Electronic signed document XML Protocol for Node & Browser

76 lines 2.53 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var InvalidSignerError = (function (_super) { __extends(InvalidSignerError, _super); function InvalidSignerError() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var _this = _super.apply(this, args) || this; _this.name = 'InvalidSignerError'; return _this; } return InvalidSignerError; }(Error)); exports.InvalidSignerError = InvalidSignerError; ; var CertificateError = (function (_super) { __extends(CertificateError, _super); function CertificateError() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var _this = _super.apply(this, args) || this; _this.name = 'CertificateError'; return _this; } return CertificateError; }(Error)); exports.CertificateError = CertificateError; ; var ArgumentError = (function (_super) { __extends(ArgumentError, _super); function ArgumentError() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var _this = _super.apply(this, args) || this; _this.name = 'ArgumentError'; return _this; } return ArgumentError; }(Error)); exports.ArgumentError = ArgumentError; ; var InvalidRecordError = (function (_super) { __extends(InvalidRecordError, _super); function InvalidRecordError() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } var _this = _super.apply(this, args) || this; _this.name = 'InvalidRecordError'; return _this; } return InvalidRecordError; }(Error)); exports.InvalidRecordError = InvalidRecordError; ; //# sourceMappingURL=errors.js.map