Class StreamReadException
Thrown when an SSE streaming read fails. Wraps the underlying exception (e.g. IOException, HttpRequestException) and attaches a StreamDiagnostics snapshot taken at the moment of failure so callers can see how far the stream got before dying.
public class StreamReadException : Exception, ISerializable
- Inheritance
-
StreamReadException
- Implements
- Inherited Members
Constructors
StreamReadException(string, StreamDiagnostics, Exception)
public StreamReadException(string message, StreamDiagnostics diagnostics, Exception innerException)
Parameters
messagestringdiagnosticsStreamDiagnosticsinnerExceptionException
Properties
Diagnostics
State of the SSE reader at the point of failure.
public StreamDiagnostics Diagnostics { get; }