RegistrationErrorCode

RegistrationErrorCode

An enumeration that describes registration issues.

enum RegistrationErrorCode : Enum<RegistrationErrorCode> , MIRACLErrorCode

Entries

Name Summary
FAIL

Registration failed.

FAIL()


FAIL_EMPTY_USER_ID

Empty user ID.

FAIL_EMPTY_USER_ID()


FAIL_EMPTY_DEVICE_NAME

Empty device name.

FAIL_EMPTY_DEVICE_NAME()


FAIL_INVALID_ACTIVATION_TOKEN

Invalid activationToken.

FAIL_INVALID_ACTIVATION_TOKEN()


FAIL_EXPIRED_ACTIVATION_TOKEN

Expired activationToken.

FAIL_EXPIRED_ACTIVATION_TOKEN()


FAIL_SAVE_IDENTITY

Registration failed because the identity could not be saved.

FAIL_SAVE_IDENTITY()


FAIL_SAVE_USER

Registration failed because the user could not be saved.

FAIL_SAVE_USER()


FAIL_UPDATE_IDENTITY

Registration failed because the identity could not be updated.

FAIL_UPDATE_IDENTITY()


UNSUPPORTED_ELLIPTIC_CURVE

Unsupported elliptic curve.

UNSUPPORTED_ELLIPTIC_CURVE()


Functions

Name Summary
compareTo
Content
operator override fun compareTo(other: RegistrationErrorCode): Int


equals
Content
operator override fun equals(other: Any?): Boolean


finalize
Content
override fun finalize()


getDeclaringClass
Content
override fun getDeclaringClass(): Class<RegistrationErrorCode>


hashCode
Content
override fun hashCode(): Int


toString
Content
open override fun toString(): String


Properties

Name Summary
name override val name: String
ordinal override val ordinal: Int