ParserExceptionHandler typedef

ParserExceptionHandler = RouteMatchList Function(BuildContext context, RouteMatchList routeMatchList)

The function signature of GoRouteInformationParser.onParserException.

The routeMatchList parameter contains the exception explains the issue occurred.

The returned RouteMatchList is used as parsed result for the GoRouterDelegate.

Implementation

typedef ParserExceptionHandler = RouteMatchList Function(
  BuildContext context,
  RouteMatchList routeMatchList,
);