Search results
66 packages found
Simplify the use of try-catch
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.
Executing async function with simple error handling. Returns object with data and error.
A better way to handle errors
Async await wrapper for easy error handling
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
🐊Putout plugin adds ability to apply try-catch
Functional try-catch wrapper.
Easy and flattened error handling for sync and async functions
Simple module that runs eval inside try-catch blocks using safe-eval module
A typescript library to get rid of try catches.
catch promise automatic
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- then
- try-catch
- try-then
- View more
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- asynchronous
- async
- try
- catch
- try-catch
- trap
- control
- View more
Removing try-catch boilerplate in a natural style with error handlers.
Try as an expressions for JavaScript
Defer rejection explicitly until a catch handler is attached.
Control flow as an expressions for JavaScript
- control flow
- if expression
- if-else
- if-elseif-else
- switch expression
- switch-case
- switch-case-default
- try expression
- try-catch
function try-catch wrapper for promises
Enhance your Express.js applications with our Exception Handler package, a robust middleware solution for effective error management. Seamlessly handle various error types, from validation errors to server crashes, ensuring graceful responses to clients.
- Express.js
- Exception handler
- Error handling
- Middleware
- Custom error handling
- Error responses
- Error types
- Status codes
- Try-catch
- Middleware stack
- Error middleware
- Express.js middleware
- Express.js error handling
- Express.js middleware package
- View more