Example #1
0
        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);
        }
Example #2
0
 public static void ThrowException()
 {
     ExceptionGenerator.LoopThenException(3, "Write Exception by Stackdriver Logging API");
 }