CK.Core.CriticalErrorCollector.Error.ToString C# (CSharp) Method

ToString() public method

Overridden to return Comment and P:Exception message.
public ToString ( ) : string
return string
            public override string ToString()
            {
                if( LostErrorCount > 0 )
                    return String.Format( "{0} - {1} - Lost Critical Error count: {2}.",  Comment, Exception.Message, LostErrorCount );
                return Comment + " - " + Exception.Message;
            }
CriticalErrorCollector.Error