@furystack/core
Version:
Core FuryStack package
9 lines • 374 B
JavaScript
/**
* Thrown by a {@link PhysicalStore} when an operation targets a missing
* entity. Adapters use this for narrow precondition failures (e.g. `update`
* called with an id that doesn't exist) so callers can branch on
* `instanceof NotFoundError` without parsing error messages.
*/
export class NotFoundError extends Error {
}
//# sourceMappingURL=not-found-error.js.map