There is an error block I can use as text, but I want the errors to be more understandable and more customizable. Is it possible to check what error it is through an if block and display a message correspondingly?
Hello!
What i usually do is to make all the errors on purpose when trying the blocks.
You can set a If-then block to show: If “error” occurs, then set text to “error”.
Based on what the label says, you can get the words used in the error string and do for example: if “error” contains “wrong password”, set text to “Hello user! It appears your password is incorrect”.
In conclusion, see what the errors says (it’s a text string) and based on the key words you can set another text, completely customized.
Hope it helped!
This does help a lot actually! I’m so stupid I didn’t think of that. Plus the error strings have codes like “auth/email-already-exists” so I think this will work perfectly. Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.