typescript-chained-error
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 22d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom · 🇨🇦 Canada
Resources
packagetypescript-chained-error ↗