Skip to main content

build_queue_wait_error_frame

Function build_queue_wait_error_frame 

Source
pub fn build_queue_wait_error_frame(
    correlation_id: u64,
    stream_id: u16,
    code: &str,
    message: &str,
) -> Result<Frame, BuildError>
Expand description

Build a StreamError frame carrying a queue-wait parse/validation failure for a specific stream_id. Non-fatal at the connection level — the session keeps reading other frames.