Skip to main content
Enum Class
enum NetworkErrorCode : Enum<NetworkErrorCode> , CrossmintErrorCode

Entries

HTTP_ERROR

CONNECTION_ERROR

TIMEOUT_ERROR

PARSE_ERROR

UNKNOWN_ERROR

SERVICE_NOT_INITIALIZED

Properties

entries

val entries: EnumEntries<NetworkErrorCode>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.

name

val name: String

ordinal

val ordinal: Int

Functions

valueOf

fun valueOf(value: String): NetworkErrorCode
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.)

values

fun values(): Array<NetworkErrorCode>
Returns an array containing the constants of this enum type, in the order they’re declared.