ehmicky/modern-errors
Handle errors in a simple, stable, consistent way observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 96
- Release rhythm 51
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 20.0
- age_days: 1545
- days_rel: 328
- days_push: 29
- n_releases_24m: 7
Adoption not part of the score
1486 stars · 20 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library for handling errors in a simple, stable, and consistent way across Node.js and browsers. It provides error class creation, error wrapping/aggregation, normalization of invalid errors, and an extensible plugin system.
Use cases
- create custom error classes in javascript
- wrap and aggregate errors with causes
- normalize invalid thrown errors
- separate known from unknown errors
- serialize and parse errors across processes
- clean and prettify stack traces
- handle errors in cli modules
- log errors with winston
When to choose
- you want consistent, typed error handling across node and browser code
- you need a plugin-based error handling framework with serialization and logging support
- you want to distinguish known errors from unexpected bugs
When to avoid
- you only need minimal try/catch without structured error classes
- your project is not javascript or typescript
Facets
library · maturity stable
error-handling logging monitoring serialization plugin-system developer-tools web-development backend browser cross-platform error-classes exceptions stacktrace typescript error-monitoring error-reporting nodejs javascript
2 sources
- readme: https://github.com/ehmicky/modern-errors · fetched 2026-08-28 · 6fe8ab3f8e0c
- registry_npm: https://registry.npmjs.org/modern-errors · fetched 2026-08-29 · 737ec2b11983
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ehmicky/modern-errors | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="ehmicky/modern-errors")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem