AIAuthError class

Authentication error — invalid or expired API key.

Inheritance

Constructors

AIAuthError({required String provider, String message = 'Authentication failed — check your API key', Object? originalError})

Properties

hashCode int
The hash code for this object.
no setterinherited
isRetryable bool
Whether this error is retryable.
no setteroverride
message String
Human-readable error message.
finalinherited
originalError Object?
Original error/exception from the provider (if available).
finalinherited
provider String
Which provider threw this error.
finalinherited
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
toString() String
A string representation of this object.
inherited

Operators

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