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.
Sources
- T2Get a catch block error message with TypeScriptMartin Fowler / Overreacted / Kent C. Dodds / Josh Comeau