handle_error

Function handle_error 

Source
pub fn handle_error(
    state: SharedMistralRsState,
    e: Box<dyn Error + Send + Sync + 'static>,
) -> ImageGenerationResponder
Expand description

Helper function to handle image generation errors and logging them.