Exception
Extends: | Error |
An Exception is a runtime exception that is meant to caught and handled. On the other hand, an Error is unrecoverable and are not meant to be caught.
Notes
Extending this class will automatically override the name
property to the class name, resulting in a more descriptive error message.
Properties
Name | Type | Description |
---|---|---|
name | string |