safe-error-class
Better errors that are extensible and don't leak sensitive data to end-users.
Better errors that are extensible and don't leak sensitive data to end-users.
Error Safe Assignment alternative for JS/TS, a simple way to remove try/catch hell
Deal with code that can throw
Tries to import a module. Ignores any error that occurs.
Transforms non-JSON log lines into Pino compatible lines
pool-threw-number6
A convenient way to end an operation by either producing an error with an error message or success with a success message.
A simple higher-order function allowing execution to be repeated until a condition is satisfied or a limit is reached.
simpler try catch
Return from outer functions.
a small promise meet daily needs
wrapper your bundle.js into a try-catch block
Tries to execute a sync/async function, returns a result tuple
Handle errors without try/catch, in the Go style
Tries to execute sync/async function, returns a specified default value if the function throws
Catch all uncaught errors and unhandled promise rejections. Track node.js traffic & errors in the console and your database.
Laravel's rescue helper function.
## Overview
Error handler for failed promises
An alternative library for try-catch blocks, helps reduce the code and make it cleaner and more readable using anonymous functions.