generated at
Promise.catch
.catch(onRejected)
Promise内で失敗したときに onRejected が呼ばれる
Promiseを作るときに reject にちゃんと型を当てていると fn は上手く推論される
Promiseが成功したときは呼ばれない