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).
aimux_free_string — frees engine-allocated strings, including
err->message. Lazily initialized so pure-Dart tests that never produce a
native message do not dlopen the library.
Provider API call failed (AI SDK APICallError analogue) — every
HTTP-shaped failure. status is the classification (401 auth, 404 model,
429 rate limit + retryMs); -1 means no response arrived (transport).