Extracts structured information from any error object.
The error to extract information from.
Structured error information with code, message, and optional context.
Extracts structured information from any error object.