Table of Contents

Enum PamojaStatus

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

The result of a fallible native call, mirroring PamojaStatus in pamoja.h.

public enum PamojaStatus

Fields

Auth = 9

A security check failed, such as an invalid identity or a bad signature.

Closed = 4

The operation targeted a resource that is closed or disconnected.

Codec = 3

A payload could not be encoded or decoded.

InvalidArgument = 6

An argument was null or otherwise invalid, such as non-UTF-8 text.

Io = 2

A device or peripheral input/output operation failed.

Ok = 0

The call succeeded.

Other = 7

A failure that does not map onto a more specific status.

Panic = 8

A native panic was caught at the boundary; the call had no effect.

Transport = 1

A transport-level failure while connecting, sending, or receiving.

Unsupported = 5

The 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.