cli/api
Pavel Borzenkov c66eebc6fb api: return structured error for failed API calls
`fmt.Errorf` hides information and makes it hard to test for specific
conditions in returned error. Return a structured error instead.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2020-06-27 18:47:34 +03:00
..
client.go api: return structured error for failed API calls 2020-06-27 18:47:34 +03:00
client_test.go api: return structured error for failed API calls 2020-06-27 18:47:34 +03:00
pull_request_test.go Prevent crash when encountering "STALE" check conclusion 2020-03-27 09:54:11 +01:00
queries_gist.go just use a map + stdin test 2020-05-20 17:44:09 -05:00
queries_issue.go just return the err 2020-04-30 08:59:14 -07:00
queries_issue_test.go Improved error message when "owner/repo" format not provided (#919) 2020-05-18 11:13:48 +02:00
queries_org.go Order projects, teams, and labels by name 2020-05-08 18:22:14 +02:00
queries_pr.go Fix pr checkout OWNER:BRANCH when maintainer can modify 2020-06-22 19:36:55 +02:00
queries_repo.go Remove convertRepoInterfaceToRepository 2020-05-20 11:19:31 -07:00
queries_repo_test.go Improved error message when "owner/repo" format not provided (#919) 2020-05-18 11:13:48 +02:00
queries_user.go Stop providing AuthLogin from context 2020-05-20 17:09:13 +02:00