/** * @module errors * * Structured error system for the Eleva ERP SDK. * * Key exports: * - `ElevaError` — base error class with typed `details`, static factories, and `.is()` type-guard. * - `RemoteElevaError` — `ElevaError` subclass with originating remote call context (HTTP, gRPC, queues, etc.). * - `ERROR_CODES` — all valid error code constants. * - `ERRORS_CATALOG` — merged catalog mapping codes to metadata and Zod schemas. * - `ErrorKind` — `DOMAIN` (safe to expose) vs `SYSTEM` (sanitised). * * @example * throw ElevaError.notFound({ entity: 'Invoice' }) * * if (err instanceof ElevaError && err.is(ERROR_CODES.NOT_FOUND)) { * console.log(err.details.entity) // string * } */ export * from './errors'; export * from './errors_remote'; export * from './catalog_types'; export * from './catalog_base'; export * from './catalog_api'; export * from './catalog'; //# sourceMappingURL=index.d.ts.map