nice-require
Tries to import a module. Ignores any error that occurs.
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.
Hypothetical simplifies error handling by providing a structured, predictable way to execute functions safely.
Common exception classes for browser and NodeJS
A javascript library for an inline try
"Pause on exceptions"-friendly code execution
Catch, log and query runtime reports and exceptions with this library.
a simple and elegant wrapper for logging and returning/throwing errors