SimApiException.routeIsNotRegistered constructor
SimApiException.routeIsNotRegistered(
- String route
Factory constructor for creating an exception indicating that a route is not registered.
route The route that was not registered.
Implementation
factory SimApiException.routeIsNotRegistered(String route) {
return SimApiException("This route $route is not registered.");
}