Skip to main content

CapabilityError

Typed failure for a capability call.

Attributes: code: Machine-readable failure class (see :data:CapabilityErrorCode). message: Human-readable detail; never required for control flow.

codeCode (string)required

Possible values: [not_found, version_mismatch, revision_mismatch, invalid_payload, invalid_result, payload_too_large, overloaded, timeout, provider_error, unreachable]

messageMessage (string)required
CapabilityError
{
"code": "not_found",
"message": "string"
}