error property

StreamException? error
final

The error that prevented the connection from authenticating.

Usually a StreamAuthenticationException whose StreamException.cause is whatever the authenticator threw.

Implementation

final StreamException? error;