Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export useful errors for explicit error handling #262

Open
ChrisSchinnerl opened this issue Dec 19, 2024 · 0 comments
Open

Export useful errors for explicit error handling #262

ChrisSchinnerl opened this issue Dec 19, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ChrisSchinnerl
Copy link
Member

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.

@ChrisSchinnerl ChrisSchinnerl converted this from a draft issue Dec 19, 2024
@ChrisSchinnerl ChrisSchinnerl added the good first issue Good for newcomers label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

1 participant