npm package
Homeerr-code
err-code is a utility for creating error instances with associated codes and additional properties. It simplifies error handling by allowing developers to attach specific codes and details to errors, making them easier to identify and manage. This package is particularly useful in applications where error categorization is important for debugging and user feedback.
- lurq health score
- 39/100
- Confidence
- unproven
- Weekly downloads
- 20,410,302
- Latest version
- 3.0.1
- Last release
- Feb 5, 2021
- License
- MIT
Should you depend on err-code?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks err-code at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading err-code
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.0.3 → 3.0.1being extracted
- 1.1.2 → 2.0.3being extracted
- 0.1.2 → 1.1.2being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 21, 2026; this page refreshes every 168 hours. Source repository.