fail static method

OnInvalidUrl fail()

Implementation

static OnInvalidUrl fail() {
  return (failedRoute) {
    throw StateError(
      '${failedRoute.path} is not a valid URL. Failing to start app',
    );
  };
}