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
EnumEntries<Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Enum Values

ErrorAlreadyExists

val Status.ErrorAlreadyExistsStatus

ErrorCancelled

val Status.ErrorCancelledStatus

ErrorCompilation

val Status.ErrorCompilationStatus

ErrorDynamicLoading

val Status.ErrorDynamicLoadingStatus

ErrorFileIO

val Status.ErrorFileIOStatus

ErrorGraphModification

val Status.ErrorGraphModificationStatus

ErrorIncompatibleByteCodeVersion

val Status.ErrorIncompatibleByteCodeVersionStatus

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

ErrorInvalidTransformation

val Status.ErrorInvalidTransformationStatus

ErrorMemoryAllocationFailure

val Status.ErrorMemoryAllocationFailureStatus

ErrorMissingInputTensor

val Status.ErrorMissingInputTensorStatus

ErrorNotFound

val Status.ErrorNotFoundStatus

ErrorRuntimeFailure

val Status.ErrorRuntimeFailureStatus

ErrorSerialization

val Status.ErrorSerializationStatus

ErrorShapeInferenceFailed

val Status.ErrorShapeInferenceFailedStatus

ErrorTimeoutExpired

val Status.ErrorTimeoutExpiredStatus

ErrorUnknown

val Status.ErrorUnknownStatus

ErrorUnsupported

val Status.ErrorUnsupportedStatus

ErrorUnsupportedCompilerVersion

val Status.ErrorUnsupportedCompilerVersionStatus

ErrorUnsupportedRuntimeVersion

val Status.ErrorUnsupportedRuntimeVersionStatus

ErrorUnsupportedShapeInferencedOp

val Status.ErrorUnsupportedShapeInferencedOpStatus

ErrorWrongVersion

val Status.ErrorWrongVersionStatus

LegalizeNoMatch

val Status.LegalizeNoMatchStatus

Ok

val Status.OkStatus

PatternNoMatch

val Status.PatternNoMatchStatus

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

entries

val entriesEnumEntries<Status>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

This method may be used to iterate over the enum entries.