Home/Frontend/Get a catch block error message with TypeScript
Frontend

Get a catch block error message with TypeScript

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.

Get a catch block error message with TypeScript

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.

KCKent C. Dodds
Written by
Kent C. Dodds

Writes for Kent C. Dodds. Part of the Tech Report engineering index.

All articles by Kent C. Dodds →