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

Entries

INVALID_CREDENTIALS

TOKEN_EXPIRED

UNAUTHORIZED

SERVER_ERROR

RATE_LIMITED

NOT_INITIALIZED

Properties

entries

val entries: EnumEntries<AuthErrorCode>
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): AuthErrorCode
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<AuthErrorCode>
Returns an array containing the constants of this enum type, in the order they’re declared.