AimuxErrorCode class abstract final

Machine-readable codes. Values match C AimuxErrorCode / Go Code. 14 variant codes, numbered consecutively 1–14. Every HTTP-shaped failure arrives as apiCall, classified by AimuxException.status (401 auth, 404 model, 429 rate limit; no status = transport failure).

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

name(int code) String
Core error_type() name.

Constants

aborted → const int
apiCall → const int
invalidArgument → const int
invalidPrompt → const int
invalidResponseData → const int
jsonParse → const int
noSuchModel → const int
noSuchProvider → const int
ok → const int
other → const int
timeout → const int
tokenExpired → const int
tool → const int
unknown → const int
unsupportedFunctionality → const int