Skip to main content
Catch errors at the operation boundary. Authentication errors, missing resources, rate limits, read transport failures, deadlines, and incomplete evaluation evidence have separate types. CreationOutcomeUnknown means the server may already have created a billable evaluation. Keep that outcome distinct from a known failed request; do not create another run automatically. Cancellation is separate from these operational errors.

On this page

ApiDeadlineExceeded, ApiError, AuthenticationError, CreationOutcomeUnknown, EvaluationFailed, InsufficientEvidence, InvalidResponseError, NotFoundError, PlatformError, RateLimitError, TransportError.

ApiDeadlineExceeded

Source declaration

ApiError

Source declaration

Constructor

Fields and properties

AuthenticationError

Source declaration

Constructor

Fields and properties

CreationOutcomeUnknown

A create may have reached the server. Retrying could create a billable duplicate. Source declaration

EvaluationFailed

Source declaration

Constructor

Fields and properties

InsufficientEvidence

Source declaration

Constructor

Fields and properties

InvalidResponseError

Source declaration

NotFoundError

Source declaration

Constructor

Fields and properties

PlatformError

Base class for platform API errors. Source declaration

RateLimitError

Source declaration

Constructor

Fields and properties

TransportError

Source declaration
Signatures and fields are generated from the SDK source. See the import index for available entry points.