Function handle_error

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

Handle route / generation errors and logging them.