示例#1
0
        string Report(RhetosException ex)
        {
            if (ex == null)
            {
                return(null);
            }

            return(ex.GetType().Name + ": " + ex.Message
                   + string.Concat(ex.Info.OrderBy(info => info.Key).Select(info => ", " + info.Key + "=" + info.Value.ToString())));
        }