Aspectacular.ExceptionExtensions.FullInfo C# (CSharp) Method

FullInfo() public static method

Returns string containing exception type, message and stack trace. No inner exception information included.
public static FullInfo ( this ex ) : string
ex this
return string
        public static string FullInfo(this Exception ex)
        {
            string retVal = "{0}\r\nSTACK:\r\n{1}".SmartFormat(ex.TypeAndMessage(), ex.StackTrace);
            return retVal;
        }