get [Symbol.toStringTag]()
Changes the default tag to 'RangeError' for an instance
[Symbol.toStringTag]()
[Symbol.toStringTag]()
The get
accessor, with the help of toStringTag
, changes the default tag to 'Error'
for an instance of Error
. It can be read by the typeOf()
function of @angular-package/type
.
error.class.ts
Return type
Returns
The return value is the word Error
of a string
.
Example usage
Last updated