DEV Community

Discussion on: Error Cause in JavaScript

Collapse
 
mciastek profile image
Mirek Ciastek

Great article! One thing I spotted - CustomError needs to extend Error class to make super() work.