[Task (Infrastructure)]: Return IndexerError
instead of anyhow::Error
from Checkpoint handler in iota-indexer
#1961
Labels
infrastructure
Issues related to the Infrastructure Team
sc-platform
Issues related to the Smart Contract Platform group.
Description
Created based on #1701 (comment)
The main change would be to change error type in the Handler trait
iota/crates/iota-indexer/src/framework/interface.rs
Line 12 in 9ffa886
anyhow::Error
toIndexerError
and then refactor the rest of the code accordingly.Consider making use of the new error variant
IndexerError::CheckpointProcessingError
introduced in #1701The text was updated successfully, but these errors were encountered: