LlmServerException class final

Server-side failure (HTTP 5xx, incl. Anthropic 529 overloaded).

Inheritance

Constructors

LlmServerException(int statusCode, String body, {Duration? retryAfter})
Creates a server exception.
const

Properties

body → String
The (truncated) response body, for diagnostics.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
retryAfter → Duration?
The server-advised retry delay (from Retry-After), if any.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int
The HTTP status code.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited