@gandlaf21/bc-ur
Version:
A JS implementation of the Uniform Resources (UR) specification from Blockchain Commons
64 lines • 2.48 kB
JavaScript
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 (Object.prototype.hasOwnProperty.call(b, 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 __());
};
})();
var InvalidSchemeError = /** @class */ (function (_super) {
__extends(InvalidSchemeError, _super);
function InvalidSchemeError() {
var _this = _super.call(this, 'Invalid Scheme') || this;
_this.name = 'InvalidSchemeError';
return _this;
}
return InvalidSchemeError;
}(Error));
export { InvalidSchemeError };
var InvalidPathLengthError = /** @class */ (function (_super) {
__extends(InvalidPathLengthError, _super);
function InvalidPathLengthError() {
var _this = _super.call(this, 'Invalid Path') || this;
_this.name = 'InvalidPathLengthError';
return _this;
}
return InvalidPathLengthError;
}(Error));
export { InvalidPathLengthError };
var InvalidTypeError = /** @class */ (function (_super) {
__extends(InvalidTypeError, _super);
function InvalidTypeError() {
var _this = _super.call(this, 'Invalid Type') || this;
_this.name = 'InvalidTypeError';
return _this;
}
return InvalidTypeError;
}(Error));
export { InvalidTypeError };
var InvalidSequenceComponentError = /** @class */ (function (_super) {
__extends(InvalidSequenceComponentError, _super);
function InvalidSequenceComponentError() {
var _this = _super.call(this, 'Invalid Sequence Component') || this;
_this.name = 'InvalidSequenceComponentError';
return _this;
}
return InvalidSequenceComponentError;
}(Error));
export { InvalidSequenceComponentError };
var InvalidChecksumError = /** @class */ (function (_super) {
__extends(InvalidChecksumError, _super);
function InvalidChecksumError() {
var _this = _super.call(this, 'Invalid Checksum') || this;
_this.name = 'InvalidChecksumError';
return _this;
}
return InvalidChecksumError;
}(Error));
export { InvalidChecksumError };
//# sourceMappingURL=errors.js.map