Search results
409 packages found
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
A simple, lightweight and isomorphic extension of the Fetch API that allows for graceful error handling and response validation, automatic retries, and the ability to bring your own Fetch API package.
- fetch
- client
- browser
- server
- client-side
- server-side
- async
- await
- validate
- validator
- validation
- response
- request
- API
- View more
通过装饰器或包裹的形式捕获异常
Tries to import a module. Ignores any error that occurs.
Advanced error logging for your app with low code integration
a webpack loader that captures error of async function
Handle your exceptions elegantly
A simple idiom for trying out blocks of code in sequence.
Functional JavaScript try-catch implementation
Ease error handling in SvelteKit with functions to help with catching, parsing and logging errors
Defer rejection explicitly until a catch handler is attached.
Let you handle exceptions with just one annotation, including finally blocks
Transform stream to remove require calls from inside a try{} statement
Transform stream to remove require calls from inside a catch{} statement
Eor is a try-catch wrapper that returns an [error, data] tuple.
A small utility for JSON (parse and stringify) that follows error first approach inspired from rust.
In try/catch or promise/catch, if you print a captured error with console.log, babel-plugin-catch will replace it with console.error for you
A better try/catch like way to get your errors.
catch promise automatic