Open
Description
Right now the authentication error objects returned sometimes have a 'name' property with what is essentially the error code, and sometimes a 'code' property. This makes switching over the error in a reducer quite complicated as they're not consistent e.g 'action.payload.name' vs 'action.payload.code'.
Also it seems as though firebase are moving towards descriptive text errors as the 'code' rather than the old numerical codes:
https://firebase.google.com/docs/reference/js/firebase.auth.Error
So getting these in line would be really good for reference purposes.
Cheers!
Metadata
Metadata
Assignees
Labels
No labels