public virtual void Panic(ErrorType errorType, params object[] args)
{
ToolMessage msg = new ToolMessage(errorType, args);
Template msgST = GetMessageTemplate(msg);
string outputMsg = msgST.Render();
if (FormatWantsSingleLineMessage())
{
outputMsg = outputMsg.Replace('\n', ' ');
}
Panic(outputMsg);
}