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.
pub fn handle_error(
state: SharedMistralRsState,
e: Box<dyn Error + Send + Sync + 'static>,
) -> ImageGenerationResponder
Helper function to handle image generation errors and logging them.