Skip to main content

add_errors_to_registry

Function add_errors_to_registry 

Source
pub fn add_errors_to_registry<T: SolInterface>(
    registry: &mut TempoPrecompileErrorRegistry,
    converter: impl Fn(T) -> TempoPrecompileError + 'static + Send + Sync,
)
Expand description

Registers all ABI error selectors for a [SolInterface] type into the decoder registry.