Search results
211 packages found
wrapper your bundle.js into a try-catch block
Asynchronous try-catch based on Node.JS domain module
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
Small async/await wrapper which allows a similar paradigm to Node's callbacks mixed with [React Hooks](https://reactjs.org/docs/hooks-intro.html). `await-wrap` wraps any async function and respond with an array with either `data` or `err`, allowing you to
Return result and error instead of throwing.
Read JSON files without try catch
Forget about the try/catch in the middlewares
utility to wrap error calling async's into error throwing async's
case when then else
Create directories and their parents recursively
> Safe and simple error handling for TypeScript, inspired by Golang and Scala
Common exception classes for browser and NodeJS
![image](https://user-images.githubusercontent.com/1615093/149611056-ad5f8c6c-d7fe-4a64-aed4-a1763135e7ee.png)
Async without try...catch
Check if a file exists without try catch
Remove files without try catch
A small utility to allow cleaner promise handling
Wraps JSON#parse in a try/catch block.
try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].
Async/await wrapper with error handling, retry and error override