hard-rejection

Error handler

Makes unhandled promise rejections fail immediately with an error message instead of silently failing.

Make unhandled promise rejections fail hard right away instead of the default silent fail

GitHub

107 stars
6 watching
8 forks
Language: JavaScript
last commit: about 4 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
sindresorhus/loud-rejectionMakes unhandled promise rejections fail loudly instead of silently.281
sindresorhus/electron-unhandledCatches unhandled errors and promise rejections in Electron apps.452
sindresorhus/p-someWait for a specified number of promises to be fulfilled36
sindresorhus/p-anyA utility function to wait for any of multiple promises to be fulfilled with cancellation support.55
sindresorhus/p-eventPromises an event by waiting for it to be emitted, allowing asynchronous iteration and rejection handling.429
sindresorhus/p-tapHelps tap into a promise chain without affecting its value or state132
sindresorhus/observable-to-promiseConverts an Observable to a Promise for asynchronous data handling47
sindresorhus/p-settleA utility function to settle promises concurrently and retrieve their fulfillment or rejection values with optional concurrency control.90
sindresorhus/p-raceImproves Promise.race() by preventing infinite pending promises and adding support for aborting promises using AbortSignal.46
sindresorhus/p-catch-ifA utility function for handling conditional promise catches38
sindresorhus/delayAllows delaying promises by a specified amount of time or a random range.609
sindresorhus/p-filterTool for filtering and concurrent execution of promises with an adjustable concurrency level75
sindresorhus/p-logUtility for logging promise values and errors in a chain of operations26
sindresorhus/p-tryA utility function to start a promise chain by executing a synchronous function safely58
sindresorhus/parse-jsonA JSON parser that provides more informative error messages when parsing JSON fails348