Simon is a Promise extension that provides filtered catch handler ... made for Simon.
npm install --production --save simon-promise
The same native Promise API applies, the only difference is the
Behaves normally as per the native Promise API
A filtered variant of
catch (like other non-JS languages typically have) that lets you only handle specific errors.
The catch handler that is first met that has eligible constructors specified, is the one that will be called.
You may also add multiple filters for a catch handler: