fn handle_query_error( err: Error, prompt: &str, db: &str, ) -> (StatusCode, Json<JaegerAPIResponse>)