pub fn create_json_error_response_handler<F>(
error_to_message_and_code: F,
) -> ResponseHandler<AiMuxError>Expand description
Parse an error JSON and map its data to a provider message and code.
pub fn create_json_error_response_handler<F>(
error_to_message_and_code: F,
) -> ResponseHandler<AiMuxError>Parse an error JSON and map its data to a provider message and code.