Format errors and other values into a single string.
This function can handle nested causes and aggregated errors, formatting them
recursively. It also allows customization of the output format through various
options.
The default options can be overridden by setting the formatError.defaultOptions
property.
Format errors and other values into a single string.
This function can handle nested causes and aggregated errors, formatting them recursively. It also allows customization of the output format through various options.
The default options can be overridden by setting the
formatError.defaultOptions
property.