⛵ Safe and simple error handling for TypeScript, inspired by Golang and Scala
-
Updated
Mar 20, 2019 - TypeScript
⛵ Safe and simple error handling for TypeScript, inspired by Golang and Scala
Syntactic sugar for asynchronous functions, promises, generators and synchronous functions.
Catch-first can simplify the code and handle exceptions better and more safely.
A vite plugin that can auto inject try catch code for async function.
Functional try-catch wrapper.
Tries to execute a sync/async function, returns a specified default value if the function throws
A helper package for ES6 async/await
🍭 Make async requests sweet again! Wrapper for async functions without pain. No try catches anymore.
🤞 Give your functions another chance
⏱ Easy error handling for async/await fetch requests without try/catch
await wrapper for easier errors handling without try-catch
🤙 A small wrapper around try/catch, to make error handling in promises a bit more comfy.
destructurable, async-friendly `try...catch` wrapper function with support for error side effects and fallback values
Created with StackBlitz ⚡️
🧪 value-packed alternative to try/catch hell
Forecast demo link:
Intuitive functional JavaScript try-catch
A type-safe way to create and handle errors.
A tiny utility for using `const` with `try/catch` blocks and get automatic typing.
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."