Search results
411 packages found
a Painless error library, naming error and matching them easily
Make unhandled promise rejections fail loudly instead of the default silent fail
Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call
An elegant try-catch replacement for JavaScript / TypeScript
Clean up code by removing try-catch-finally blocks.
Wrap `require` in a try/catch block.
Functional async flow control library
Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.
Let you handle exceptions with just one annotation
An asynchronous domain-based exception handler with long stack traces for node.js
Try to parse a string as JSON and return undefined on failure
- invalid
- circular
- json
- parse
- stringify
- serialize
- parsing
- serialization
- stringification
- try
- catch
- try/catch
- exception
- exceptions
- View more
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
Catch me if you can
Is given string a valid media descriptor (including media query)?
Simple performant try-catch wrapper
Retries a provided function n times on error
a wrapper around tape that catches and reports exceptions
Catch errors in your express routes
The Result and Option type from Rust ported to TypeScript.