This seems to happen when accessing a private resource without providing a private token.
Indeed, by modifying ocaml-gitlab, I could pretty print the exception to:
However, this was only possible by changing gitlab_s.mli to expose the exception.
Perhaps this exception should be exposed to the user? I can make a PR if it makes sense.
I've had a script throw:
This seems to happen when accessing a private resource without providing a private token. Indeed, by modifying ocaml-gitlab, I could pretty print the exception to:
However, this was only possible by changing
gitlab_s.mli
to expose the exception. Perhaps this exception should be exposed to the user? I can make a PR if it makes sense.