In this lesson, we're learning how to catch Firebase auth errors when they occur.
When we're working with authentication we expect user invoked errors to happen quite frequently, such errors might come from a user who tries to register with an existing email or enters an invalid password.
As a bonus, we'll also show you how to handle the successful callbacks if you don't go for the recommended ´onAuthStateChanged´ observer pattern.