se17group / github-crawler

Automatic data extraction from public github profiles
GNU General Public License v3.0
0 stars 0 forks source link

Exceptions #7

Open karolinakume opened 7 years ago

karolinakume commented 7 years ago

Exceptions

The definition of exceptions is necessary for the use case compilation and for defining the capabilitites of the tool (if it is possible to fulfill all requirements)

Every HTTP request whose status code is different from 200 is an error

  1. Server error with status code 500: In this case the tool informs the user on the internal server error and prompts him to try again later.
  2. Error 401: Authorisation error. The user’s credentials are invalid. This exception is also handled by the tool itself. It prompts the user to reenter his credentials

Feel free to add possible exceptions in this issue