The `Error` object accessors.
public get name(): string Error name of a string type, set to 'Error' that is being thrown.
string
'Error'
public get [Symbol.toStringTag](): string The get accessor, with the help of toStringTag, changes the default tag to 'Error' for an instance of Error.
get
toStringTag
Error
Last updated 2 years ago