AIError class sealed

Base class for all AI Bridge errors.

Uses Dart's sealed class feature to create an exhaustive error taxonomy. All provider-specific errors are mapped to these unified error types.

Implemented types

Properties

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

Operators

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