I am using the official firebase-ui example from here: https://github.com/firebase/flutterfire/tree/master/packages/firebase_ui_auth/example
When my cloud functions return an error, the error is shown in the UI explicitly:

Instead, I want to modify the message to be more user friendly based on the error that I get. Unfortunately, I have not found a way to do that. Can anyone please help?