Promise.catch method catch(self, on_rejected: object) -> Promise[_S]: Parameters on_rejected: object Returns Promise[_S]