Search results
409 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
Wrap `require` in a try/catch block.
Clean up code by removing try-catch-finally blocks.
An elegant try-catch replacement for JavaScript / TypeScript
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
Catch me if you can
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
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
The Result and Option type from Rust ported to TypeScript.
a wrapper around tape that catches and reports exceptions
A promised library of tools for Node.js and the browser.
Is given string a valid media descriptor (including media query)?