catch

This function allows to catch rejected promise in the chaining.

Example