174 packages found
`Start a promise chain
Tries to execute a function and discards any error that occurs
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
An asynchronous domain-based exception handler with long stack traces for node.js
Simple performant try-catch wrapper
Wrap `require` in a try/catch block.
Transient exception handling
Try to parse a string as JSON and return undefined on failure
- 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
Functional async flow control library
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
Basic wrapper for await that allows handling of errors without try/catch blocks
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- View more
> A simple function to validate if nested object properties exist.
a webpack loader that can auto inject try catch for async function
Simple try/catch wrapper that runs a function and returns an error-first array
A simple to use (async await) wrapper to resolve functions, promises and more. It provides a timeout functionalitiy to delay/timeout execution and always returns an array of type [error, result] to ease error handling and eliminate the need to (try-)catch