loud-rejection
Make unhandled promise rejections fail loudly instead of the default silent fail
Make unhandled promise rejections fail loudly instead of the default silent fail
Throw a given error
Make unhandled promise rejections fail hard right away instead of the default silent fail
Throw better errors.
Throw better errors.
A simple and composable way to validate data in JavaScript (and TypeScript).
Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.
Makes Jest throw on React prop-type failures
Safe Window Getters
It makes simple throw qualified errors.
Assert a given object is a valid glob option
Throw an error when the max number of EventEmitter listeners is exceeded
Like new Promise(), but prevents implicit rejection
Easily generate "custom" error objects with addition properties which can be stringfied with JSON.stringify
Skema provides a handy & composable way to validate / transform / purify the input data.
putout plugin adds ability to convert throw statement into throw expression
A simple utility that helps throw exceptions.
Assert that two values are equal
Debug and detect MaxListenersExceededWarning: Possible EventEmitter memory leak detected warnings
Util to throw error if truthy is given