JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q40608F
  • License MIT

Supercharge your Node.js error handling with this TypeScript library. Leverage modular architecture to enrich error objects with identifiers, system context, user info, and HTTP statuses. Perfect for debugging, logging, and boosting application robustness.

Package Exports

  • @labrynx/error-enhanced
  • @labrynx/error-enhanced/package.json

Readme

npm

error-enhanced - Enhanced Error Handling for Node.js

Table of Contents


Quick Start

error-enhanced is a TypeScript library focused on enriching error handling capabilities in Node.js.

Quick Example:

const error = new ErrorEnhanced([new IdentifiersEnhanced()]);
error.setErrorCode(400).setSeverity(ErrorEnhanced.SeverityLevel.HIGH);

For more examples and advanced usage, please refer to the Wiki.

Back to top


Installation

To install the package, use the following npm command:

npm install error-enhanced

Back to top


Documentation

For in-depth documentation, including explanations on enhancers, utilities, enums, and more, please refer to the Wiki.

Back to top


Contributing

We welcome contributions! Please see our Contributing Guidelines for more information.

Back to top


Changelog

For a detailed list of changes, check out the CHANGELOG.

Back to top