RegistrationErrorCode

RegistrationErrorCode


enum RegistrationErrorCode : Enum<RegistrationErrorCode> , MIRACLErrorCode

An enumeration that describes registration issues.

Entries

UNSUPPORTED_ELLIPTIC_CURVE
UNSUPPORTED_ELLIPTIC_CURVE()
Unsupported elliptic curve.
FAIL_UPDATE_IDENTITY
FAIL_UPDATE_IDENTITY()
Registration failed because the identity could not be updated.
FAIL_SAVE_USER
FAIL_SAVE_USER()
Registration failed because the user could not be saved.
FAIL_SAVE_IDENTITY
FAIL_SAVE_IDENTITY()
Registration failed because the identity could not be saved.
FAIL_EXPIRED_ACTIVATION_TOKEN
FAIL_EXPIRED_ACTIVATION_TOKEN()
Expired activationToken.
FAIL_INVALID_ACTIVATION_TOKEN
FAIL_INVALID_ACTIVATION_TOKEN()
Invalid activationToken.
FAIL_EMPTY_DEVICE_NAME
FAIL_EMPTY_DEVICE_NAME()
Empty device name.
FAIL_EMPTY_USER_ID
FAIL_EMPTY_USER_ID()
Empty user ID.
FAIL
FAIL()
Registration failed.

Properties

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