If for example, we use this function with the wrong repo value in the argument, it will return an answer that does not clarify to the user that there was an error:
gitear::get_issues_open_state (base_url = "https://example.gitea.service.com",
api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
owner = "company",
repo = "test_repo")
It will return this:
data frame with 0 columns and 0 rows
This should return an error message saying that there is one wrong value in the arguments.