Enum PamojaStatus
The result of a fallible native call, mirroring PamojaStatus in
pamoja.h.
public enum PamojaStatus
Fields
Auth = 9A security check failed, such as an invalid identity or a bad signature.
Closed = 4The operation targeted a resource that is closed or disconnected.
Codec = 3A payload could not be encoded or decoded.
InvalidArgument = 6An argument was null or otherwise invalid, such as non-UTF-8 text.
Io = 2A device or peripheral input/output operation failed.
Ok = 0The call succeeded.
Other = 7A failure that does not map onto a more specific status.
Panic = 8A native panic was caught at the boundary; the call had no effect.
Transport = 1A transport-level failure while connecting, sending, or receiving.
Unsupported = 5The requested capability is not compiled into this build.
Remarks
A value of Ok means success; any other value indicates a failure whose message is available from pamoja_last_error_message() on the same thread.