コード例 #1
0
ファイル: ProxyException.cs プロジェクト: vitorsalgado/crap
        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();
        }