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