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