githubEdit

Accessors

The `Error` object accessors.

public get name(): string Error name of a stringarrow-up-right type, set to 'Error'arrow-up-right that is being thrown.

public get [Symbol.toStringTag](): string The getarrow-up-right accessor, with the help of toStringTagarrow-up-right, changes the default tag to 'Error' for an instance of Error.

Last updated