Some different classes for handling the error types and more
-
Updated
Apr 7, 2020 - JavaScript
Some different classes for handling the error types and more
A collection of extensible ES6 error classes for different contexts.
Properly update an error's properties
Properly update an error's message.
Properly update an error's class.
Handle errors in a simple, stable, consistent way
Merge an error with its `cause`
Normalize exceptions/errors
Create custom error classes
Properly create error classes.
Properly update an error's stack.
Properly wrap an error's message.
Essential utility errors inspired by Node.js core error codes
Add a description, image, and links to the error-classes topic page so that developers can more easily learn about it.
To associate your repository with the error-classes topic, visit your repo's landing page and select "manage topics."