Skip to content

ApiErrorBody

Defined in: src/ui/api-client.ts:22

The JSON error body the panel API returns, with the HTTP status always filled in.

[key: string]: unknown
Property Type Description Defined in
code? string A machine-readable code, when the API sends one. src/ui/api-client.ts:30
error string Human-readable message. src/ui/api-client.ts:24
errors? object[] Per-field validation issues. src/ui/api-client.ts:28
status number The HTTP status of the response (forced from the response, whatever the body says). src/ui/api-client.ts:26