try-to-catch
function try-catch wrapper for promises
Found 120 results for try-catch
function try-catch wrapper for promises
🐊Putout plugin adds ability to apply try-catch
Make sure to use try-catch to wrap up some dangerous actions!
A utility module to handle async function errors gracefully.
Easy and flattened error handling for sync and async functions
A TypeScript utility for simplified async error handling with Sentry integration
A modern TypeScript validation library designed around familiar interface syntax and powerful conditional validation. Experience schema validation that feels natural to TypeScript developers while unlocking advanced runtime validation capabilities.
A functional type for error handling in JS/TS
Simplify error handling in JavaScript with a lightweight utility that organizes results and errors for both synchronous and asynchronous operations.
Standard Error Library for JavaScript/TypeScript projects (NodeJS & Browsers)
Wrapper for error handling without try-catch
A utility package for handling try-catch blocks in TypeScript.
Give your functions another chance
Simple try-catch utility function for JavaScript
Promise wrapper with some sugar
Neat Fetch is a modern, lightweight, and type-safe wrapper around the native `fetch` API that makes HTTP requests predictable, readable, and enjoyable.
Minimalist, strongly-typed result pattern for TypeScript
A comprehensive utility library for elegant error handling in TypeScript and JavaScript. Handle both sync and async operations with clean tuple-based results.
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
Type-safe try-catch utility for TypeScript
Run synchronous and asynchronous code without throwing errors
Easy type-safe error handling without try-catch
Async await wrapper for easy error handling
A TypeScript utility for better error handling.
This Package is to handle the async API response.
Extract error message from an object using known error properties.
A TypeScript utility package for elegant error handling with Result types
wrap tape async functions and show error on reject
Rust-like Result and ResultAsync for Javascript
NestJS decorator to catch and log service errors to file
setInterval with promises, counter and error handling
A simple utility for handling synchronous and asynchronous errors without relying on try-catch blocks.
Safe-try is a Typescript type-safe error handling library for both sync and async operations
catch promise automatic
Elegant tuple-based error handling utilities for TypeScript, inspired by Rust's Result<T, E> pattern.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
Result based function returns that prevent any exceptions from being thrown.
A TypeScript utility for elegant error handling with Result types
Improve how you do Javascript errors
Functional try-catch wrapper.
Catch-first can simplify the code and handle exceptions better and more safely.
A simple error base class for TypeScript
This package are simple wrapper, based on functional programming paradigm with higher order function
A better way to handle errors
Simple module that runs eval inside try-catch blocks using safe-eval module
A smart async wrapper for Express with MongoDB transaction support.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
Simplify the use of try-catch
A lightweight utility to handle promises safely, returning an error or result in a predictable format.
If a function does not throw, return the function return value; otherwise, return `y`.
@magic try-catch library. returns errors instead of throwing them.
Utility function for error handling in TypeScript
A set of helper functions for performing operations safely, preventing runtime errors from disrupting your application.
一个webpack loader,为异步操作自动添加try-catch语句
Babel plugin to enforce error handling in catch blocks
Wraps func in a try...catch.
Simple wrapper for Express route handlers, which propagates errors to the centralized error handler.
Make a promise fail silently. For use with async/await for easy error handling without try-catch
A Result type, inspired by Go's error model
A typescript library to get rid of try catches.
统一为所有的异步函数添加try-catch异常捕获,在class中使用体验更佳
Automatically add exception report(like sentry) in try-catch block
auto wrap function body with try-catch
try catch wrapper for async functions
try-catch wrapper with quick easy syntax; fully customizable & works with async and promises
no more throw
Rules for consistent @vanyauhalin/result usage
Humanize try-catch in async/await
Executing async function with simple error handling. Returns object with data and error.
Better error handling in JavaScript
Golang-style error handling utility for async and sync operations in TypeScript/JavaScript
A simple utility to handle promises with optional logging and error throwing.
Functional try-catch wrapper
A TypeScript library for safe error handling with Result types
Golang style error handling for Functions, Promises and Thenables.
A flexible and modern implementation of try, catch, and finally blocks using asynchronous functions and arrow functions.
A robust async helper to wrap promises and functions, returning [result, error] for graceful error handling.
Safely wrap JavaScript functions and values with fallbacks, redirection, and error handling — no TypeScript required.
auto wrap try catch for function body
dev handler is a package which can handle errors and to the tests at the same time and you can make consoles on and off anytime
A robust async helper to wrap promises and functions, returning [result, error] for graceful error handling.
Go-style error handling with try-catch wrapper
Result type based on Kotlin Result type
Alternative way to handle errors in Javascript
A simple try-catch block that allows the use of throw whilst being asynchronous. This utilizes async/waterfall.
Minimal, powerful, and highly customizable error parser and manager for JavaScript! 🚀
Removing try-catch boilerplate in a natural style with error handlers.
Lightweight TypeScript library for type-safe errors-as-values
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.
async-try-catch-loader
Instead of trying and catching, go ahead and fuck around if you wanna find out.
Defer rejection explicitly until a catch handler is attached.
Babel plugin helps automatically add try catch console when encountering await
Lightweight, progressive, type-safe error handling for TypeScript
putout plugin adds ability apply try-catch
A Babel macro that removes console prints in production
Hide try/catch in hook and HOC
Gen Z-inspired try/catch block and logging utility for JavaScript and TypeScript developers.
A functional try catch for javascript and typescript
A module to make clear and succinct a redundant async/await try-catchs in using promises in node routes.
Wraps func in a try...catch.
Async await wrapper for easy error handling without try-catch
A TypeScript utility for elegant error handling
A simple utility to handle async errors without try-catch blocks in Node.js.
一个将try-catch包装成函数的库
Strongly typed Result monad implementation in TypeScript
Try handler is a powerful utility that wraps try-catch blocks in a function, allowing you to handle errors in a more elegant way, without the need to write try-catch blocks in your code.
Error Safe Assignment alternative for JS/TS, a simple way to remove try/catch hell
A minimal TypeScript utility for safe asynchronous operations using tuple destructuring. Avoid try/catch blocks and handle async errors cleanly with [error, result] syntax. Lightweight, tree-shakable, and designed for developer productivity in modern Type
A robust error handling utility for JavaScript and TypeScript applications with retry, timeout, and logging capabilities
Safe and structured error handling for JavaScript.
fis plugin for adding try-catch
A utility package for your repetitive try catch with a proper standard logging format with both async and normal function compatible.
nv-cli-try-catch =============== - nv-cli-try-catch - cli tool, generate many nested-try-catch blocks
just a try-catch block
add try-catch clause to function block statement
A utility package for handling try-catch blocks in TypeScript.
Run sync/async functions and get a typed Result: value() or error() for explicit error handling.
Return result and error instead of throwing.