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

Add user facing error/success handling #15

Open
sjockers opened this issue Mar 18, 2020 · 0 comments
Open

Add user facing error/success handling #15

sjockers opened this issue Mar 18, 2020 · 0 comments
Labels
enhancement New feature or request GenesAPI

Comments

@sjockers
Copy link
Member

Create error responses that include:

  • HTTP status
  • Error message

For cases such as:

  • Client error: Invalid query (user entered a URL that's invalid) – 4xx
  • No data for given URL – 404 (+ message explaining that no data is available for the given query)
  • Actual server error – 5xx
  • Success (data) – 200
@P3nny P3nny added enhancement New feature or request GenesAPI labels Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GenesAPI
Projects
None yet
Development

No branches or pull requests

2 participants