Traverse Error causes with cycle protection.
-
Updated
Jul 26, 2026 - TypeScript
Traverse Error causes with cycle protection.
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.
To associate your repository with the cause-chain topic, visit your repo's landing page and select "manage topics."