@hazae41/x509
Version:
Zero-copy X.509 certificates in pure modern TypeScript
19 lines (17 loc) • 426 B
JavaScript
var _a;
class ResolveError extends Error {
#class = _a;
name = this.#class.name;
constructor(options) {
super(`Could not resolve`, options);
}
static from(cause) {
return new _a({ cause });
}
}
_a = ResolveError;
function resolveOrThrow(resolvable, cursor) {
return resolvable.resolveOrThrow(cursor);
}
export { ResolveError, resolveOrThrow };
//# sourceMappingURL=resolve.mjs.map