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.
We have seen an increasing number of checks in
renterdandhostdchecking 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.Ischecks on them instead.