footprintjs - v11.2.0
Docs
Import map
GitHub
npm
Playground
Preparing search index...
footprintjs
extractErrorInfo
Function extractErrorInfo
extractErrorInfo
(
error
:
unknown
)
:
StructuredErrorInfo
Extract structured error info from any thrown value.
InputValidationError → preserves .issues array
Standard Error → preserves .name, .message
Non-Error thrown values → coerces to string
Parameters
error
:
unknown
Returns
StructuredErrorInfo
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Docs
Import map
GitHub
npm
Playground
footprintjs - v11.2.0
Loading...
Extract structured error info from any thrown value.