Status

enum Status : Enum


Status codes for LiteRtException.

Summary

Public companion functions

Status
fromCode(code: Int)

Returns the Status with the given code.

Public functions

Status
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<Status>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

Int

Enum Values

ErrorCompilation

val Status.ErrorCompilationStatus

ErrorDynamicLoading

val Status.ErrorDynamicLoadingStatus

ErrorFileIO

val Status.ErrorFileIOStatus

ErrorGraphModification

val Status.ErrorGraphModificationStatus

ErrorIndexOOB

val Status.ErrorIndexOOBStatus

ErrorInvalidArgument

val Status.ErrorInvalidArgumentStatus

ErrorInvalidFlatbuffer

val Status.ErrorInvalidFlatbufferStatus

ErrorInvalidGraphInvariant

val Status.ErrorInvalidGraphInvariantStatus

ErrorInvalidIrType

val Status.ErrorInvalidIrTypeStatus

ErrorInvalidLegalization

val Status.ErrorInvalidLegalizationStatus

ErrorInvalidToolConfig

val Status.ErrorInvalidToolConfigStatus

ErrorMemoryAllocationFailure

val Status.ErrorMemoryAllocationFailureStatus

ErrorMissingInputTensor

val Status.ErrorMissingInputTensorStatus

ErrorNotFound

val Status.ErrorNotFoundStatus

ErrorRuntimeFailure

val Status.ErrorRuntimeFailureStatus

ErrorSerialization

val Status.ErrorSerializationStatus

ErrorTimeoutExpired

val Status.ErrorTimeoutExpiredStatus

ErrorUnknown

val Status.ErrorUnknownStatus

ErrorUnsupported

val Status.ErrorUnsupportedStatus

ErrorWrongVersion

val Status.ErrorWrongVersionStatus

LegalizeNoMatch

val Status.LegalizeNoMatchStatus

Ok

val Status.OkStatus

Public companion functions

fromCode

fun fromCode(code: Int): Status

Returns the Status with the given code.

Public functions

valueOf

fun valueOf(value: String): Status

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<Status>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

Public properties

code

val codeInt