public AphidRuntimeException CreateRuntimeException01( [PexAssumeUnderTest] AphidInterpreter target, AphidExpression expression, object obj ) { AphidRuntimeException result = target.CreateRuntimeException(expression, obj); return(result); // TODO: add assertions to method AphidInterpreterTest.CreateRuntimeException01(AphidInterpreter, AphidExpression, Object) }
public AphidRuntimeException CreateRuntimeException( [PexAssumeUnderTest] AphidInterpreter target, string message, object[] args ) { AphidRuntimeException result = target.CreateRuntimeException(message, args); return(result); // TODO: add assertions to method AphidInterpreterTest.CreateRuntimeException(AphidInterpreter, String, Object[]) }
public void DumpExceptionTest01(AphidRuntimeException exception, AphidInterpreter interpreter) { AphidCli.DumpException(exception, interpreter); // TODO: add assertions to method AphidCliTest.DumpExceptionTest01(AphidRuntimeException, AphidInterpreter) }
public static string Format(AphidRuntimeException exception) => $"{exception.Message}\r\n";
public static void DumpException(AphidRuntimeException exception, AphidInterpreter interpreter) { WriteErrorMessage(StyleEscape(ErrorFormatter.Format(exception))); DumpStackTrace(interpreter, exception); DumpScope(exception, interpreter); }