Async await wrapper for easy error handling without try-catch
-
Updated
Feb 7, 2024 - TypeScript
Async await wrapper for easy error handling without try-catch
🤞 Give your functions another chance
await wrapper for easier errors handling without try-catch
Tries to execute a sync/async function, returns a specified default value if the function throws
A vite plugin that can auto inject try catch code for async function.
A type-safe way to create and handle errors.
A better way to handle errors. Both data and errors are declared with const, available at the top level, and non-nullable (once the other is handled). Errors are always Error objects.
Simplify the use of try-catch
Rust-like but for TypeScript/JavaScript
A helper package for ES6 async/await
⛵ Safe and simple error handling for TypeScript, inspired by Golang and Scala
destructurable, async-friendly `try...catch` wrapper function with support for error side effects and fallback values
Syntactic sugar for asynchronous functions, promises, generators and synchronous functions.
🍭 Make async requests sweet again! Wrapper for async functions without pain. No try catches anymore.
A tiny utility for using `const` with `try/catch` blocks and get automatic typing.
⏱ Easy error handling for async/await fetch requests without try/catch
Intuitive functional JavaScript try-catch
Catch-first can simplify the code and handle exceptions better and more safely.
Add a description, image, and links to the try-catch topic page so that developers can more easily learn about it.
To associate your repository with the try-catch topic, visit your repo's landing page and select "manage topics."