Skip to content

Export useful errors for explicit error handling #262

Description

@ChrisSchinnerl

We have seen an increasing number of checks in renterd and hostd checking for substrings like "has already been resolved", "not found in the accumulator" etc. either for testing or figuring out whether it makes sense to log an error.

We should expose the more common/useful ones so that we can perform errors.Is checks on them instead.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions