Search results
210 packages found
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
A package for inline asynchronous try-catch
a webpack loader that can auto inject try catch for async function
Basic wrapper for await that allows handling of errors without try/catch blocks
Assert an error thrown (a)synchronously by a function.
Write files atomically, and create parent directories if necessary
make assertion functions into boolean tests
a webpack loader that captures error of async function
wraps the original function with error-handling logic
A better try/catch like way to get your errors.
Simple try/catch wrapper that runs a function and returns an error-first array
Functional JavaScript try-catch implementation
Advanced error logging for your app with low code integration
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
Handle exceptions by just annotating a method or class with a decorator. Based on enkot/catch-decorator.
Async/await wrapper for easy error handling in js
try-catch-expression provides try..catch as expression.