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

Standarize error codes #259

Open
willyaranda opened this issue Jun 26, 2013 · 1 comment
Open

Standarize error codes #259

willyaranda opened this issue Jun 26, 2013 · 1 comment

Comments

@willyaranda
Copy link
Contributor

We should use:

  • 200 if OK
  • 404 if API error (or malformed)
  • 500 for internal errors (we should not say that we have problems getting a connector or things like that)
  • 4xx for other cases (405 not allowed)

@frsela?

@frsela
Copy link

frsela commented Jun 26, 2013

Agree ! ... use the same ones used in the HTTP standard ;)

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

No branches or pull requests

2 participants