jsonref
Version:
Javascript References ($ref) and Pointers library
31 lines • 730 B
JavaScript
export class RetrieverError extends Error {
uri;
originalError;
constructor(uri, originalError) {
super(uri);
this.uri = uri;
this.originalError = originalError;
this.name = 'RetrieverError';
}
}
export class ParserError extends Error {
scope;
errors;
constructor(scope, type, errors) {
super(type);
this.scope = scope;
this.errors = errors;
this.name = 'ParserError';
}
}
export class RebaserError extends Error {
scope;
errors;
constructor(scope, type, errors) {
super(type);
this.scope = scope;
this.errors = errors;
this.name = 'RebaserError';
}
}
//# sourceMappingURL=errors.js.map