public ProxyException(ErrorResponse errorResponse) : base() { ErrorResponse = errorResponse; StringBuilder message = new StringBuilder(); message .AppendLine("An unhandled exception ocurred in the remote api.") .AppendLine(errorResponse.ToString()); _message = message.ToString(); }