Closed etan-status closed 3 months ago
Attention: Patch coverage is 95.74468%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 82.58%. Comparing base (
48a3ac0
) to head (ecc6d2b
).
@etan-status it'd be good to track what has been done regarding this topic in this issue https://github.com/vacp2p/nim-libp2p/issues/962
Thanks, have put comments linking to that issue to the relevant PRs so far, so that they appear in #962
The next layer of modules that can get
{.async: (raises).}
annotations are theupgrademngrs
. This is the first layer that mixes so many error types that it makes sense to start with{.async: (raises: [LPError]).}
especially because the callers add rawLPError
as well. It may be worthwhile to try and wrap inner exceptions in a proper outer type, but as this pattern spans large parts of the library, such wrapping should be investigated separately from initial annotation work.