Machine.Specifications.ReSharperRunner.Runners.PerAssemblyRunListener.OnFatalError C# (CSharp) Method

OnFatalError() public method

public OnFatalError ( ExceptionResult exception ) : void
exception ExceptionResult
return void
        public void OnFatalError(ExceptionResult exception)
        {
            string message;
              _server.TaskOutput(_runAssemblyTask, "Fatal error: " + exception.Message, TaskOutputType.STDOUT);
              _server.TaskException(_runAssemblyTask, ExceptionResultConverter.ConvertExceptions(exception, out message));
              _server.TaskFinished(_runAssemblyTask, message, TaskResult.Exception);

              _errors += 1;
        }