sendTestException static method

void sendTestException()

Send text exception. Used to test Catcher 2 configuration.

Implementation

static void sendTestException() {
  throw const FormatException('Test exception generated by Catcher 2');
}