Search results
409 packages found
Make unhandled promise rejections fail loudly instead of the default silent fail
a Painless error library, naming error and matching them easily
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.
An elegant try-catch replacement for JavaScript / TypeScript
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.
An implementation of Domain-like error handling, built on async_hooks
- async
- hooks
- async_hooks
- domain
- error
- handling
- handler
- uncaughtException
- unhandledRejection
- catch
- promise
- execution
- context
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
The Result and Option type from Rust ported to TypeScript.
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
A promised library of tools for Node.js and the browser.
Catch me if you can
a wrapper around tape that catches and reports exceptions
Is given string a valid media descriptor (including media query)?