Extract a single error code (code or HTTP status) from an error and its cause chain — e.g. the Postgres SQLSTATE hidden inside a Drizzle ORM error. Zero dependencies.
postgres typescript error-handling error zero-dependency http-status sqlstate drizzle-orm cause-chain error-cause
-
Updated
Oct 7, 2026 - TypeScript