SiaFoundation / SiaFoundation/core

Export useful errors for explicit error handling

Open
#262 0 comments 1 reaction 1 assignee View on GitHub

@Alrighttt is already working on this.

Since May 14, 2026.

good first issue
Dominant language
Go
Stars
59
Forks
9
Avg merge
9h 6m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.