Skip to content
Niu DocsNiu 牛元文档
Dashboard控制台

NiuStreamError

Generated from the checked-in source. Do not edit this reference by hand.

SDK source. All SDK types.

TypeScript
constructor(kind: NiuStreamError['kind'], message: string, response: Response, responseBody?: unknown, eventType?: string, cause?: unknown);
TypeScript
readonly kind: 'api' | 'invalid_stream' | 'incomplete_stream' | 'transport';
TypeScript
readonly eventType?: string;