Get a catch block error message with TypeScript

2021-10-28来源 Kent C. DoddsEnglish
TypeScript forces you to acknowledge you can't know what was thrown making getting the error message a pain. Here's how you can manage it.

原文:https://www.a8q9.cn/en/article/get-a-catch-block-error-message-with-typescript-1568c5.html

相关文章