You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever possible, our error message should indicate that content is pruned.
When not possible (get_txn_by_hash), return None
APIs shouldn't panic on out-of-window queries
would be nice if we convert the DB interface to return AptDbError, so the tests can assert by error types. We can do something like impl From<anyhow::Error> for AptDbError and a AptDbError::Misc(anyhow::Error) so that not much needs to change.
The text was updated successfully, but these errors were encountered:
This is part of #103
impl From<anyhow::Error> for AptDbError
and aAptDbError::Misc(anyhow::Error)
so that not much needs to change.The text was updated successfully, but these errors were encountered: