-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error codes for Accounts constraints #9
Labels
Comments
Merged
Part of this is addressed by #25. Namely, the ability to define custom, typed errors that propagate to the client. The other part needed to be done is informative errors for the constraints in the |
armaniferrante
changed the title
Error code generation
Error codes for Accounts constraints
Jan 21, 2021
Completed by #354. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The DSL is currently very lazy with error codes. We should do this properly, generating an error for each constraint, adding those to the IDL, and having all clients report typed, informative errors, when the runtime responds with a particular error code.
There's also some boilierplate we should eliminate with a macro when creating custom errors for programs.
The text was updated successfully, but these errors were encountered: