Method Error Error(Func<string>) Declaration public BenchmarkTimer Error(Func<string> messageFactory) Parameters Type Name Description Func<string> messageFactory Returns Type Description BenchmarkTimer