Profile Action
This is the most comprehensive domain.
- iOS (Swift)
- Android (Java)
enum Error.ProfileActionDomainCode {
case profileNotReady
case forgedProfile
case profileNotAssociatedToThisDevice
case couldNotCommunicateWithApplication(appName: String?)
// recover
case invalidRecoveryCode
case recoveryCodeAlreadyUsed
// association
case invalidAssociationCode
case alreadyAssociated
case registrationCodeAlreadyUsed
case registrationCodeExpired
case profileExceededMaxDevices
// share
case expiredShareToken
}
public enum ProfileActionDomainCode {
PROFILE_NOT_READY,
FORGED_PROFILE,
PROFILE_NOT_ASSOCIATED_TO_THIS_DEVICE,
COULD_NOT_COMMUNICATE_WITH_APPLICATION,
INVALID_RECOVERY_CODE,
RECOVERY_CODE_ALREADY_USED,
INVALID_ASSOCIATION_CODE,
ALREADY_ASSOCIATED,
REGISTRATION_CODE_ALREADY_USED,
REGISTRATION_CODE_EXPIRED,
PROFILE_EXCEEDED_MAX_DEVICES,
EXPIRED_SHARE_TOKEN,
PROFILES_NOT_DISSOCIATED,
PROFILE_NOT_DISSOCIATED;
}