-
Notifications
You must be signed in to change notification settings - Fork 0
Error handling
Oscar Miras edited this page Feb 18, 2021
·
1 revision
- check if we can connect to Firebase to fetch the animals
- if so, display a message to the user that we can't connect to database
- if possible, show the animals that are already loaded in memory (Vuex)
- check if the animal has been inserted correctly in firebase
- check if Firestorage throws any error regarding the uploaded photos
- form fields validation
- Account already exists (email)
- if the user was not created in Firebase, inform to the user. Give as much info as possible...
- form fields validation
- If the username does not exist in database, display an error message to the user
- If there no animals with the matching criteria, show a message. Keep the filters but allow user to change them.
- form fields validation
- check if the info is updated correctly in firebase