Skip to content
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

Custom backend function return error codes, this is non GraphQL-like #81

Open
ideen1 opened this issue Jul 25, 2024 · 0 comments
Open

Comments

@ideen1
Copy link
Contributor

ideen1 commented Jul 25, 2024

We should switch these to all return errors[] in case of an error. (Not 400, 403, etc.) We can place the error code as part of the errors object text.

Likewise all front end methods calling these should be doing our regular check for if(res.errors) throw Error....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant