Table of Contents

Property Error

Namespace
SshSharp.Extensions.DependencyInjection
Assembly
SshSharp.Extensions.DependencyInjection.dll

Error

Why the connection ended (ConnectionError): for Disconnected, and for Reconnected the reason the previous connection ended. Null for Connected. Its message can hold the server's disconnect text: log it, but keep it out of public responses.

public Exception? Error { get; }

Property Value

Exception