# TritonDataCenter/node-verror

Rich JavaScript errors

Repository: https://github.com/TritonDataCenter/node-verror
Canonical: https://ross.abutalabs.com/products/node-verror
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-01-13T22:31:32+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 62, release rhythm 35, longevity 100
- inputs: {"age_days": 5251, "days_push": 232, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1191, forks 57 (observed 2026-08-28T04:03:56.165061+00:00)

## What it is
node-verror is a JavaScript library providing rich error classes (VError, WError, SError, MultiError) for Node.js. It supports printf-style messages, error cause chains, extra informational properties, and custom subclasses.

## Use cases
- chain errors with context across call stack layers
- wrap internal errors without exposing messages to API clients
- create error subclasses with printf-style messages
- aggregate multiple errors from parallel operations
- attach extra metadata to errors for debugging

## When to choose
- you follow Joyent-style Node.js error handling best practices
- you need structured error cause chains with rich messages
- you want to hide internal error details from API consumers while preserving them for logs

## When to avoid
- you only need simple built-in Error objects
- your project uses modern alternatives like AggregateError or custom error classes
- you are not working in a Node.js/JavaScript codebase

## Facets
- artifact type: library
- maturity: stable
- function: error-handling
- domain: backend, developer-tools
- platform: -
- tags: errors, error-chaining, javascript, nodejs

## Member repositories
- TritonDataCenter/node-verror (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.165061+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:41.396220+00:00, confidence not recorded.
  - readme: https://github.com/TritonDataCenter/node-verror (fetched 2026-08-28T04:03:56.165061+00:00, sha c556fbd6b61c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
