bnjbvr/trinity

public API: don't use `anyhow` for library errors

bnjbvr opened this issue · 0 comments

Using stringly-typed errors is bad practice for libs, because the users can't match a specific error easily. We could use thiserror instead to expose a few common errors (mis-configuration, etc.).