public ConnectionException(string message, ConnectionException response)
        {
            string errorMessage = string.IsNullOrEmpty(ExceptionMessagePrefix)
                ? message
                : $"{ExceptionMessagePrefix}: {message}";

            Response = response == null ? errorMessage : errorMessage + response;
        }
 /// <summary>
 /// Copy constructor provided by convenience for derived classes.
 /// </summary>
 /// <param name="ex">The original exception to copy information from.</param>
 protected ConnectionException(ConnectionException ex) : this(ex.Message, ex.Response, ex.WebExceptionStatus,
                                                              ex.Request)
 {
 }