extract_error_metadata: Extract metadata from a climate_error
Description
Extracts the structured metadata from a typed climate error for use
in API responses or logging.
Usage
extract_error_metadata(error)
Value
A list containing the error metadata (type, column, available, etc.)
Arguments
- error
A climate_error condition object