SiaFoundation/core

Export useful errors for explicit error handling

オープン

#262 opened on 2024/12/19

 (0 件のコメント) (1 件のリアクション) (1 人の担当者)Go (9 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (58 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド