Properly create error classes.
-
Updated
May 4, 2024 - JavaScript
Properly create error classes.
Properly wrap an error's message.
Properly update an error's properties
Properly update an error's message.
Merge an error with its `cause`
Some different classes for handling the error types and more
Create custom error classes
Properly update an error's stack.
Normalize exceptions/errors
Essential utility errors inspired by Node.js core error codes
Properly update an error's class.
A collection of extensible ES6 error classes for different contexts.
Handle errors in a simple, stable, consistent way
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."