public ConnectionException(Endpoint endpoint)
     : base($"Lost connection to {endpoint}")
 {
     Endpoint = endpoint;
 }
 public ConnectionException(Endpoint endpoint, Exception innerException)
     : base($"Lost connection to {endpoint}", innerException)
 {
     Endpoint = endpoint;
 }