pub(crate) fn legacy_query_failure(fail: workflow_completion::Failure) -> QueryResult {
    QueryResult {
        query_id: LEGACY_QUERY_ID.to_string(),
        variant: Some(query_result::Variant::Failed(
            fail.failure.unwrap_or_default(),
        )),
    }
}
/// Create a legacy query failure result
Create a legacy query failure result
Create a legacy query failure result
pub(crate) fn legacy_query_failure(fail: workflow_completion::Failure) -> QueryResult {
    QueryResult {
        query_id: LEGACY_QUERY_ID.to_string(),
        variant: Some(query_result::Variant::Failed(
            fail.failure.unwrap_or_default(),
        )),
    }
}
pub ( crate ) fn legacy_query_failure ( fail : workflow_completion :: Failure ) -> QueryResult { QueryResult { query_id : LEGACY_QUERY_ID . to_string ( ) , variant : Some ( query_result :: Variant :: Failed ( fail . failure . unwrap_or_default ( ) , ) ) , } }
Create a legacy query failure result
Create a legacy query failure result
fail
workflow_completion::Failure
fail
workflow_completion::Failure