LlmFailure class final
Why a call failed, classified by the provider.
Constructors
- LlmFailure({required String classCode, required String message, Object? cause})
-
const
-
LlmFailure.fromMap(Map<
String, Object?> map) -
factory
Properties
- cause → Object?
-
The underlying error; not carried across an isolate.
final
- classCode → String
-
A short machine-readable class:
timeout,rate_limited,auth, ….final - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A sentence, safe to show and to log.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited