Build Custom Error Classes for error-handling in JS and TS
Pre-requisites: try-catch block, Classes & Inheritance in JavaScript
BUT... Why do we need Custom Error Classes?
This is important to know, otherwise, why do anything :)
Clearer and more descriptive errors: Custom error classes allow you to define s...
mayukh551.hashnode.dev9 min read