Skip to content

Have better internal error types #66

Description

@iainlane

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good-first-issueGood issue for new contributors to the project: not too simple, and would have decent impact

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions