0.0.4 • Published 8 years ago
catch.all v0.0.4
catch.all
Get all errors from an array of promises.
Installation
This package is distributed via npm:
npm install catch.all
Usage
import catchAll from 'catch.all';
catchAll(promises)
.then(errors => {
// An array of errors
return errors;
})
.catch(e => {
console.log(e);
});
Other
This library was developed by Max Barinov.