stringifyError()
Home > @backstage/errors
> stringifyError
Stringifies an error, including its name and message where available.
Signature:
function stringifyError(error: unknown): string;
Parameters
Parameter |
Type |
Description |
---|---|---|
error |
unknown |
The error. |
string