LlmHttpException class
The provider answered with an HTTP error.
- Inheritance
-
- Object
- LlmException
- LlmHttpException
Constructors
- LlmHttpException(int statusCode, String message, {String? errorType})
-
Creates an exception.
const
Properties
- errorType → String?
-
Provider error type, e.g.
rate_limit_errororoverloaded_error.final - hashCode → int
-
The hash code for this object.
no setterinherited
- isRetryable → bool
-
Whether retrying later can succeed (timeouts, conflicts, rate limits,
overload and server errors).
no setter
- message → String
-
What went wrong.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
HTTP status code.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited