safe-assignment
Error Safe Assignment alternative for JS/TS, a simple way to remove try/catch hell
Error Safe Assignment alternative for JS/TS, a simple way to remove try/catch hell
Deal with code that can throw
Eliminate null/undefined errors in JS...and more!
Tries to import a module. Ignores any error that occurs.
Experimental implementation of Maybe and Result monads compatible with await.
perhaps-pour-dirty-lamp
simpler try catch
Return from outer functions.
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
Hypothetical simplifies error handling by providing a structured, predictable way to execute functions safely.
hat-handsome-dish9
Common exception classes for browser and NodeJS
A javascript library for an inline try
"Pause on exceptions"-friendly code execution
wraps the original function with error-handling logic