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 >
values ()

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

Public properties

Int

Enum Values

ErrorCompilation

val  Status.ErrorCompilation 
 Status 

ErrorDynamicLoading

val  Status.ErrorDynamicLoading 
 Status 

ErrorFileIO

val  Status.ErrorFileIO 
 Status 

ErrorGraphModification

val  Status.ErrorGraphModification 
 Status 

ErrorIndexOOB

val  Status.ErrorIndexOOB 
 Status 

ErrorInvalidArgument

val  Status.ErrorInvalidArgument 
 Status 

ErrorInvalidFlatbuffer

val  Status.ErrorInvalidFlatbuffer 
 Status 

ErrorInvalidGraphInvariant

val  Status.ErrorInvalidGraphInvariant 
 Status 

ErrorInvalidIrType

val  Status.ErrorInvalidIrType 
 Status 

ErrorInvalidLegalization

val  Status.ErrorInvalidLegalization 
 Status 

ErrorInvalidToolConfig

val  Status.ErrorInvalidToolConfig 
 Status 

ErrorMemoryAllocationFailure

val  Status.ErrorMemoryAllocationFailure 
 Status 

ErrorMissingInputTensor

val  Status.ErrorMissingInputTensor 
 Status 

ErrorNotFound

val  Status.ErrorNotFound 
 Status 

ErrorRuntimeFailure

val  Status.ErrorRuntimeFailure 
 Status 

ErrorSerialization

val  Status.ErrorSerialization 
 Status 

ErrorTimeoutExpired

val  Status.ErrorTimeoutExpired 
 Status 

ErrorUnknown

val  Status.ErrorUnknown 
 Status 

ErrorUnsupported

val  Status.ErrorUnsupported 
 Status 

ErrorWrongVersion

val  Status.ErrorWrongVersion 
 Status 

LegalizeNoMatch

val  Status.LegalizeNoMatch 
 Status 

Ok

val  Status.Ok 
 Status 

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  code 
 Int 
Design a Mobile Site
View Site in Mobile | Classic
Share by: