Closed andrefedev closed 2 years ago
I found a few problems with this issue:
I just found that there is a version of firebase 4 that has an errorutils.go module that does exactly what I wanted to find in this great library, you guys do more than an excellent job, thanks.
To improve the library, I would like to propose that the errors thrown instead of spitting a flat error could return a more explicit error depending on the function that is being consumed, here is an example:
I know that you can wrap the output to return something custom but for newcomers and not being familiar with all the errors that you would have to handle with firebase auth and other components, there should be either better documentation or a general way to handle all the errors without letting any escape.