SiaFoundation/core

Export useful errors for explicit error handling

Ouverte

#262 ouverte le 19 déc. 2024

 (0 commentaire) (1 réaction) (1 personne assignée)Go (9 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (58 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur