Trait tx_indexer::error::ErrorPolicyProvider
source · pub trait ErrorPolicyProviderwhere
Self: Sized,{
// Required method
fn get_error_policy(&self) -> ErrorPolicy<Self>;
}
Expand description
Trait that can be implemented for custom error types.
Different variants in said error types can then be given different ErrorPolicy
assignments.
Required Methods§
fn get_error_policy(&self) -> ErrorPolicy<Self>
Object Safety§
This trait is not object safe.