private fun displayUserInformationErrors(inputErrors: UserInformationErrors) { _uiState.value = uiState.value.copy( firstName = uiState.value.firstName.copy( errorId = inputErrors.firstNameErrorId ), lastName = uiState.value.lastName.copy( errorId = inputErrors.lastNameErrorId ), signInProcessing = false ) }
This function displays the error on the User Information Screen