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
{{ message }}
Repository navigation
createAccountRequest should return more info than just a boolean #1565
Is your feature request related to a problem? Please describe.
When creating a new account request we should get more information about why the request failed other than just a boolean. For instance if the email is already used then the user should get an error that there is already an account with that email rather than just "Account couldn't be created", with that general error the user will never know that caused that error.
Describe the solution you'd like createAccountRequest should return String? error, if there are an error then a String is returned if not then return null.
Describe alternatives you've considered
There are no alternatives at the moment
Reacted by Luís Gustavo, sgorbyo, Nero Song and 42retfa
Activity
vlidholt commentedon Nov 15, 2023
When moving to Serverpod 2.0, this would be nice to change and use serializable exceptions over error codes.
marcelomendoncasoares commentedon Apr 3, 2026
Closing as completed since we now use rich exceptions serialized from the server.