get name()
The `get` accessor obtains error object name
Error.prototype.name
Error.prototype.name
Error name of a string
type, set to 'Error'
that is being thrown.
error.class.ts
Return type
Returns
The return value is the error instance name of string
type.
Example usage
Last updated