2 ms·
Also, you can just use Bluebird's .error() for catching "operational errors": https://github.com/petkaantonov/bluebird/blob/master/API.md#error-rejectedhandler-
by idbehold 12y ago
Also, you can just use Bluebird's .error() for catching "operational errors": https://github.com/petkaantonov/bluebird/blob/master/API.md#error-rejectedhandler----promise https://github.com/petkaantonov/bluebird/blob/master/API.md#...
Where an operational error "represents an error (that) is an explicit promise rejection as opposed to a thrown error."