/error-oop

More oop error classes for nodejs.

Primary LanguageTypeScriptMIT LicenseMIT

error-oop

More oop error classes for nodejs.

  • Full suite of node.js Error classes.
  • Append stack traces from other generated Errors
  • Full typescript code, provide typescript declarations
  • Support CommonJS and ESModule, support tree shaking

Install

npm install error-oop or yarn add error-oop.

Errors

Click to know how to use them.

Wrappered Native Errors

More OOP Errors

If you want to create your own custom errors, please see User Guide For Custom Errors.

Errors to Support

  • ValidationError
  • Data
    • SQLError