Documentation
GitHub
Preparing search index...
errors/error-serializer
errorToString
Function errorToString
errorToString
(
error
:
Error
&
{
toString
?:
()
=>
string
}
)
:
string
Serializes an error into a string.
Parameters
error
:
Error
&
{
toString
?:
()
=>
string
}
The error to stringify.
Returns
string
A string representing the error.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
Documentation
Loading...
Serializes an error into a string.