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()))); }