SiaFoundation/core

Export useful errors for explicit error handling

開放

#262 建立於 2024年12月19日

 (0 則留言) (1 個反應) (1 位負責人)Go (9 個分叉)auto 404
good first issue

倉庫指標

星標
 (58 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南