Bickle.Listeners.ConsoleListener.CreateFailureMessage C# (CSharp) Method

CreateFailureMessage() private method

private CreateFailureMessage ( IExample example, Exception exception ) : string
example IExample
exception System.Exception
return string
        private string CreateFailureMessage(IExample example, Exception exception)
        {
            const string fmt =
                @"{0}) Failed: {1}
            {2}";
            return string.Format(fmt, _failures.Count + 1, example.FullName, GetExceptionMessage(exception));
        }