Preparing for system design interviews?  Try bugzed.com →

typescript-chained-error

JSON →
library 1.6.0 ·javascript
verified Jun 4, 2026

A TypeScript library for chaining custom errors with a 'Caused by' clause in stack traces. Version 1.6.0 is current, with a moderate release cadence. It preserves error class names using ts-custom-error, optionally cleans stack traces via clean-stack, and provides a ChainedErrorFactory to extend existing errors with cause chains. Key differentiators include 100% test coverage, healthcare-grade usage, and support for multiple error causes in a chain.

total hits 8
actors 2 distinct systems
last hit 22d ago human
GPTBot
3
Humans
3

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada