A base class for exceptions
Extending javascript Error class has a quirk, check the constructor of this class to see the workaround. Exception class takes care of that thus making it easier to create custom error classes by just extending the Exception class.
Optional override for formatting stack traces
https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces
Create .stack property on a target object
Generated using TypeDoc
Exception
A base class for exceptions
Extending javascript Error class has a quirk, check the constructor of this class to see the workaround. Exception class takes care of that thus making it easier to create custom error classes by just extending the Exception class.