Search results
407 packages found
wrapper your bundle.js into a try-catch block
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
通过装饰器或包裹的形式捕获异常
Let you handle exceptions with just one annotation
Functional async flow control library
An elegant try-catch replacement for JavaScript / TypeScript
Wrap `require` in a try/catch block.
Laravel's rescue helper function.
Error3 is proper JS error implementation. It supports error codes, message formatting (e.g. i18n) and nested errors.
Catch me if you can
An asynchronous domain-based exception handler with long stack traces for node.js
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
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
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.
a wrapper around tape that catches and reports exceptions
Is given string a valid media descriptor (including media query)?
A promised library of tools for Node.js and the browser.