get rid of `if (err) throw err`
Avoid if(err)return bla bla bla
```typescript //insert into app.ts if (err instanceof InputValidationError) { return res.status(err.status).json({ message: err.message, details: err.fields, }); } ```
A Node.js module to ease error handling and let you get rid of if(err) return cb(err)
Error comparison and information related utility for node and the browser
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
a streaming zip archive generator.
Call a callback when a readable/writable/duplex stream has completed or failed.
yet another unzip library for node
Execute a callback when a request closes, finishes, or errors
A simple Node.js module to check if a TCP port is already bound.
Create an error with a code
resolve like require.resolve() on behalf of files asynchronously and synchronously
Tired of not writing "if err != nil" in other languges? I've got just the thing
pipe streams together and close all of them if one of them closes
libuv errno details exposed
Git/Subversion/Mercurial repository metadata parser
Node.js final http responder
Run an array of functions in parallel
Fast, in memory work queue
Async/await wrapper for easy error handling in js
Easy error subclassing and stack customization
Asynchronous, buffered, line-by-line file/stream reader
return the first event in a set of ee/event pairs
A contractual language for the AI era
A small set of adapters extending Rust's error-handling capabilities
Drop-in replacements for silent error drops — log at warn/error/debug instead of silently discarding
A lightweight Result type for Ruby with Ok and Err variants, monadic map/flat_map operations, unwrap helpers, and Ruby 3.1+ pattern matching support.
Wrap your business logic into a common interface with enforced input, output and error data structures
RubyPeg helps you to create readable Parsing Expression Grammars (PEG) in, err, ruby
where the wild things are. err, when resque gets stuck
where the wild things are. err, when resque gets stuck
Err lets you switch out error notification apps in a similar way to MultiJSON's parsers.
DynamicForm holds a few helper methods to help you deal with your Rails3 models. It includes the stripped out methods from Rails 2; error_message_on and error_messages_for. It also brings in the functionality of the custom-err-messages plugin, which provides more flexibility over your model error messages.
Party like it's 1999! Run your awesome Ruby CGI applications...err, scripts like Rack applications.
OutputCatcher is available as a Rails plugin and as a gem. It provides a way to capture the standard out($stdout) or standard error($stderr) of your code without pain and suppresses the output of the 'err' or 'out' stream.