AimuxCError class final

C AimuxError layout (40 bytes on 64-bit targets).

Layout must match aimux-error.h / Rust CAimuxError (#[repr(C)]): code:i32, status:i32, retry_ms:i64, message:char*, error_value:char*, plus one reserved pointer slot for future ABI extension (always zero).

On failure the callee allocates message and optionally errorValue (lossless externally-tagged core AiMuxError JSON; NULL for FFI-synthesized failures); the caller owns both and must free each via aimux_free_string after reading (withAimuxCError handles this). On success the struct is untouched.

Inheritance
Implemented types
Available extensions

Constructors

AimuxCError()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
code int
getter/setter pair
errorValue Pointer<Utf8>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message Pointer<Utf8>
getter/setter pair
reserved0 Pointer<Void>
getter/setter pair
retryMs int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
getter/setter pair

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