ENUM
# RoomleUserManagerError
Contents
- Cases
userHasToAcceptTermsAndConditions
identificationNotValid
passwordTooShort
emailOrPasswordWrong
authentification
userProfile
userTenants
userHasToBeLoggedIn
tenantSwitchNotAllowed
userIsAlreadyRegistered
All possible errors which are thrown if user information is incorrect or any error occured while interacting with RoomleUserManager
.
# Cases
# userHasToAcceptTermsAndConditions
Is thrown if user tries to register without accepting our terms and conditions.
# identificationNotValid
Is thrown if given identification (email) is not valid
# passwordTooShort
Is thrown if given password is equal or smaller than 2 characters
# emailOrPasswordWrong
Is thrown if given email or password is wrong
# authentification
Is thrown if there was an error while parsing authentification object
# userProfile
Is thrown if there was an error while parsing user profile object
# userTenants
Is thrown if there was an error while parsing tenant object
# userHasToBeLoggedIn
Is thrown if a user has to be logged in, in order to execute this function
# tenantSwitchNotAllowed
Is thrown if given tenant does not belong to logged in users' tenants
# userIsAlreadyRegistered
Is thrown if given user is already registered