RegisterUserOperatorError

RegisterUserOperatorError is a sealed interface that represents the different types of errors that can occur making a request to register a new user operator.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard

EmailAlreadyRegistered happens when the email is already registered in the system and can't be used to register a new user operator.

Link copied to clipboard

IdentificationAlreadyRegistered happens when the identification is already registered in the system and can't be used to register a new user operator.

Link copied to clipboard

PhoneAlreadyRegistered happens when the phone is already registered in the system and can't be used to register a new user operator.

Link copied to clipboard
data class Unknown(val localization: List<JsonElement>? = null, val message: String? = null, val type: String? = null) : RegisterUserOperatorError

Unknown happens when the error mapping failed to match to some of the previous known errors.