triggerUncaughtError static method

void triggerUncaughtError()

Throws a StateError.

Implementation

static void triggerUncaughtError() {
  throw StateError('Embrace sample: illegal state, throwing error!');
}