Search results
211 packages found
Flatry converting promise or function to flat array response. Inspired by golang style error handling without try/catch.
ftry converts a promise or function call to a 2-tuple response. Inspired by golang style error handling without try/catch.
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.
Tries to execute a sync/async function, returns a result tuple
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
Tries to execute a function and discards any error that occurs
`Start a promise chain
wrapper your bundle.js into a try-catch block
Transient exception handling
Basic wrapper for await that allows handling of errors without try/catch blocks
Catch me if you can
An elegant try-catch replacement for JavaScript / TypeScript
Clean up code by removing try-catch-finally blocks.
Wrap `require` in a try/catch block.
Simple performant try-catch wrapper
Functional async flow control library
Async await wrapper for easy error handling
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.