gitlabr icon indicating copy to clipboard operation
gitlabr copied to clipboard

`http_error_or_content()` should print explicit error messages when the gitlab API raises an error

Open ymansiaux opened this issue 2 years ago • 0 comments

Validation

  • [ ] When the user provides an incorrect token an appropriate error message is shown

image

  • [ ] When the user tries to access a repository which doesnt exist an appropriate error message is shown

image

  • [ ] When the user tries to access a repository which is private an appropriate error message is shown

image

Dev - Tech

Errors to deal with :

  • [ ] "404 Project Not Found" : the repository does not exist or is private

  • [ ] "401 Unauthorized": the token is missing or incorrect

  • [ ] "403 Forbidden" : shown (notably) when the user does not have the right "Role" (we need to ensure that this type of error can not be seen elsewhere

ymansiaux avatar Jan 30 '23 13:01 ymansiaux