API reference · Kjarni 0.2.7
Enum KjarniErrorCode
Namespace: Kjarni
Assembly: Kjarni.dll
Why a call into the native engine failed, carried by
public enum KjarniErrorCode
Fields
Cancelled = 8
The operation was cancelled through a
GpuUnavailable = 6
A GPU was requested but no usable adapter was found.
InferenceFailed = 5
Running the model failed.
InvalidConfig = 7
An option or combination of options is invalid.
InvalidUtf8 = 2
A string was not valid UTF-8.
LoadFailed = 4
The model could not be downloaded or loaded.
ModelNotFound = 3
The model name is not in the registry.
NullPointer = 1
A required argument was null.
Ok = 0
The operation succeeded.
Panic = 11
A panic in the native engine was caught at the ABI boundary. The operation failed and its outputs are undefined; the handle stays valid to dispose.
StreamEnded = 10
A token stream has no more tokens.
Timeout = 9
The operation timed out.
Unknown = 255
An error the engine did not classify.
Kjarni runs the same engine on every platform: