// Public entry point of the framework-agnostic error-handling tooling // shared across apps in this monorepo. Everything here — HttpError, // ErrorHandlerService — has zero dependency on Express or any other HTTP // framework; it only knows how to map an error to a {status, body} pair. // // Framework-specific adapters (e.g. Express's `createErrorMiddleware`) live // in their own package (`@batch-cooking/express-tools`) and consume these // types instead of duplicating the mapping logic. export * from "./error-handler.service.js"; export * from "./http-error.js";