grafana / grafana/wait-for-github

Have better internal error types

Open
#66 2 comments 0 reactions 0 assignees View on GitHub
good-first-issue
Dominant language
Go
Stars
21
Forks
12
Avg merge
4d 3h
Merged PRs (30d)
18

Description

What we do at the minute is mainly use `fmt.Errof` to add a bit of context to our errors. We could be a bit better about that, and add our own error types.

Likely we could use those to print better error messages, but the main benefit would be in the testsuite we could check the error returned to see if the condition we wanted has happened - currently we check it in a pretty naive way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.