Properly wrap an error's message.
MIT License
Published by ehmicky almost 1 year ago
18.18.0
Published by ehmicky over 1 year ago
16.17.0
Published by ehmicky almost 2 years ago
Initial release.
`modern-errors` plugin to handle errors in CLI modules.
Merge an error with its `cause`
Properly update an error's properties
Properly update an error's class.
Properly update an error's stack.
Normalize exceptions/errors
Log errors with Winston
Check if a value is an `Error` instance.
Create HTTP error responses.
Properly update an error's message.
Polyfill `error.cause`
Properly create error classes.
`modern-errors` plugin to create HTTP error responses.
Create custom error classes
💣 Error handler for CLI applications 💥