Type guard to check if an error has a structured API error body.
The unknown value to test
true if the error has a body property with optional detail, title, status, or type fields
true
Type guard to check if an error has a structured API error body.