339 packages found
Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.
`Start a promise chain
Wrap `require` in a try/catch block.
Transient exception handling
Let you handle exceptions with just one annotation
Catch me if you can
A client-side loader for the Catch.js SDK
The Result and Option type from Rust ported to TypeScript.
Async await wrapper for easy error handling
A simple to use (async await) wrapper to resolve functions, promises and more. It provides a timeout functionalitiy to delay/timeout execution and always returns an array of type [error, result] to ease error handling and eliminate the need to (try-)catch
A simple program to restart your NodeJS app when it exits with an error.
Eliminate try-catch and make it possible to handle all 3 outcomes differently: result, native exception, & application error.
Make unhandled promise rejections fail loudly instead of the default silent fail
Make unhandled promise rejections fail hard right away instead of the default silent fail
- promise
- promises
- unhandled
- uncaught
- rejection
- hard
- fail
- catch
- throw
- handler
- exit
- debug
- debugging
- verbose
- View more
Parse a string as JSON.
The official Elastic APM agent for Node.js
- opbeat
- elastic
- elasticapm
- elasticsearch
- log
- logging
- bug
- bugs
- error
- errors
- exception
- exceptions
- catch
- monitor
- View more
Catchee is a simple decorator around function or class methods in JS, that allows you to write error handler chains around an exceptionable code.
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
Set of methods allowing simplify work with promises in cycle such as: forEach, map, find, filter, reduce, while, transform. Besides there are methods for comfortable work with promises or asynchronous operations - all, retry, timeout.
- promise
- promises
- performance
- async
- await
- deferred
- deferreds
- future
- flow control
- fluent interface
- promise methods
- foreach
- reduce
- filter
- View more