Skip to main content

ErrorHandler

Type Alias ErrorHandler 

Source
pub type ErrorHandler = Arc<dyn Fn(&HostFunctionError) + Send + Sync>;
Expand description

Handler function for host function errors.

This is called whenever an error occurs in a typed host function, allowing for logging, metrics, or other error handling.

Aliased Typeยง

pub struct ErrorHandler { /* private fields */ }