You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include the original firebase exception message in exception properties, EMAIL_EXISTS for example. This would enable to handle translation of the error messages based on this key.
The only way right now is to use this bundle english translation as a translation key. interface FirebaseException extends Throwable { public function getMessageKey(): string; }
That's a great idea! I wouldn't go with messageKey, though, but rather go with something similar to the Node Admin SDK . Let me see what I can come up with, but I think it will be something like errorCode() or something like that.
Describe the feature you would like to see
Include the original firebase exception message in exception properties,
EMAIL_EXISTS
for example. This would enable to handle translation of the error messages based on this key.The only way right now is to use this bundle english translation as a translation key.
interface FirebaseException extends Throwable { public function getMessageKey(): string; }
Is this the way to go ?
The text was updated successfully, but these errors were encountered: