Modern Errors

Typescript error library

Visit website ↗

Profile updated

Console’s review

· Reviewed by

What we like

Library to provide structured errors in JS/TS. Set props on errors with typed fields. Wrap, aggregate, normalize errors. Core library provides base functionality which can be extended via plugins. Official plugins for specialist cases: CLI (colorized, pretty print, verbosity levels), HTTP (structured HTTP responses), clean stack traces, and others. Open source.

Tradeoffs

JS/TS only. Be sure to configure TS to output ES modules, not CommonJS.

Is Modern Errors a fit?

Based on Console’s review published on 2023-02-02.

Who it’s for

Developers using JS/TS should consider this tool for error handling

Why consider it

It provides structured errors with typed fields

Keep in mind

It is limited to JS/TS only

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-02-02. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Key facts

Last checked

FactDetailsSource
Platforms Node.js Source ↗
What it is JavaScript library for consistent error handling. Source ↗
Company or maintainer ehmicky and contributors. Source ↗
Source and licensing Free and open source, MIT. Source ↗
Pricing Free and open source (MIT). No paid hosted plan was verified from the cited repository; self-hosting infrastructure costs are separate. Source ↗

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.