public static void ThrowException() { var ex = ExceptionGenerator.GenerateException( () => ExceptionGenerator.LoopThenException(10, "inner exception test from error api")); throw new ErrorReportingApiTestException("error api exception test", ex); }
public static void ThrowException() { ExceptionGenerator.LoopThenException(3, "Write Exception by Stackdriver Logging API"); }