Search results
72 packages found
A better way to handle errors
Easy and flattened error handling for sync and async functions
Minimalist, strongly-typed result pattern for TypeScript
Try as an expressions for JavaScript
Easy type-safe error handling without try-catch
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
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
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.
一个webpack loader,为异步操作自动添加try-catch语句
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
Functional try-catch wrapper
A utility package for your repetitive try catch with a proper standard logging format with both async and normal function compatible.
If a function does not throw, return the function return value; otherwise, return the return value of a second function.
If a function does not throw, return the function return value; otherwise, return `y`.
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.
Rust-like Result for Javascript
function try-catch wrapper for promises
Instead of trying and catching, go ahead and fuck around if you wanna find out.
- satire
- humor
- error-handling
- try-catch
- alternative
- fun
- exception
- javascript
- typescript
- node
- nodejs
- library
- utility
- fuckaround