StreamingError: SSEvent & {
    data?: string;
    responseCode?: number;
    source: { payload: { state: string } };
}

Payload of a streaming error event

Type declaration

  • Optionaldata?: string

    Raw response body (or event data) that came along with the error, if any.

  • OptionalresponseCode?: number

    HTTP status code of the response. Not set for error events sent within the stream.

  • source: { payload: { state: string } }