{"library":"common-errors","type":"library","category":null,"description":"The `common-errors` package provides a comprehensive suite of custom error classes for Node.js, designed to offer more specific error types than native JavaScript `Error` objects. Originally intended to mirror error types found in other modern languages, it includes classes like `AlreadyInUseError`, `ArgumentError`, `NotFoundError`, and `AuthenticationRequiredError`. Key features highlighted in its documentation include the ability to append stack traces from asynchronously generated errors, dynamically generate custom error classes, and map HTTP status codes to errors for web service integration. The current stable version is 1.2.0. However, the package has not seen active development or updates in many years, with its last release dating back to 2017. Consequently, it is no longer actively maintained.","language":"javascript","status":"abandoned","version":"1.2.0","tags":["javascript","error","errors","common errors","exception","exceptions","validation","standard","argument"],"last_verified":"Wed May 27","install":[{"cmd":"npm install common-errors","imports":["const errors = require('common-errors');","const { ArgumentError } = require('common-errors');","const { generateClass } = require('common-errors');"]},{"cmd":"yarn add common-errors","imports":[]},{"cmd":"pnpm add common-errors","imports":[]}],"homepage":null,"github":"https://github.com/shutterstock/node-common-errors","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/common-errors","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/common-errors/compatibility"}}