Skip to main content

parse_stream_error

Function parse_stream_error 

Source
pub fn parse_stream_error(data: &str) -> StreamError
Expand description

从 failed/error 事件 JSON 中提取结构化错误(兼容三种 schema,按优先级)。 对应 TS parseStreamError。