Machine-readable codes. Values match C aimux_error_code_t / Go Code.
16 variant codes: 1–17 (1 is the catch-all; 4 is retired). A code outside
that set is a header/library mismatch and fails with StateError, not an
error type. Every HTTP-shaped failure
arrives as apiCall, classified
by AimuxException.status (401 auth, 404 model, 429 rate limit;
-1 = no HTTP response was ever observed — a missing API key, an error
built without a request, or a 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
Constants
- aborted → const int
- apiCall → const int
- invalidArgument → const int
- invalidPrompt → const int
- invalidResponseData → const int
- invalidToolInput → const int
- jsonParse → const int
- noSuchModel → const int
- noSuchProvider → const int
- noSuchTool → const int
- ok → const int
- other → const int
- retry → const int
- timeout → const int
- tokenExpired → const int
- toolCallRepair → const int
- unsupportedFunctionality → const int