Skip to main content

reported_azure_error

Function reported_azure_error 

Source
pub(crate) fn reported_azure_error(
    output: &ResponseOutput,
    fallback_response_id: Option<&str>,
) -> Option<ChatbotError>
Expand description

The error Azure reported on this line, if any: the one nested under response when a response object came with it, otherwise the top-level one. fallback_response_id is used only for the latter, since the former carries its own response id.