error property
The error that caused the server to close the connection.
A StreamApiException when the server reported why — the same payload a rejected REST call carries — and a StreamNetworkException describing the closure when it did not.
Implementation
final StreamException? error;