docorm
Version:
Persistence layer with ORM features for JSON documents
19 lines • 529 B
JavaScript
export class PersistenceError extends Error {
context;
innerError;
constructor(message, context = undefined, innerError = undefined) {
super(message);
this.context = context;
this.innerError = innerError;
}
}
export class InternalError extends Error {
context;
innerError;
constructor(message, context = undefined, innerError = undefined) {
super(message);
this.context = context;
this.innerError = innerError;
}
}
//# sourceMappingURL=errors.js.map