Package Exports
- @labrynx/error-enhanced
- @labrynx/error-enhanced/package.json
Readme
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.
Installation
To install the package, use the following npm command:
npm install error-enhancedDocumentation
For in-depth documentation, including explanations on enhancers, utilities, enums, and more, please refer to the Wiki.
Contributing
We welcome contributions! Please see our Contributing Guidelines for more information.
Changelog
For a detailed list of changes, check out the CHANGELOG.