Search results
414 packages found
Catch errors in a pull stream
a Painless error library, naming error and matching them easily
Make unhandled promise rejections fail loudly instead of the default silent fail
An elegant try-catch replacement for JavaScript / TypeScript
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
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
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
An asynchronous domain-based exception handler with long stack traces for node.js
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
The Result and Option type from Rust ported to TypeScript.
a wrapper around tape that catches and reports exceptions