Skip to main content

azure_stream_error

Function azure_stream_error 

Source
pub(super) fn azure_stream_error(
    response_id: Option<&str>,
    err: ResponseError,
) -> ChatbotError
Expand description

Builds the error the stream parsers raise when Azure reports a failure on the line they are reading, attaching err as the error’s Azure source.