Skip to content

Add user facing error/success handling #15

Description

@sjockers

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions