SiaFoundation/core

Export useful errors for explicit error handling

Aberta

#262 aberto em 19 de dez. de 2024

 (0 comentário) (1 reação) (1 responsável)Go (9 forks)auto 404
good first issue

Métricas do repositório

Stars
 (58 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador