Line data Source code
1 : part of 'main.dart'; 2 : 3 : /// This exception is raised when a user tries to navigate to a path which is unspecified 4 : class InvalidUrlException implements Exception { 5 : final String url; 6 : 7 0 : InvalidUrlException({required this.url}); 8 : 9 0 : @override 10 : String toString() => 11 0 : "The url '$url' has no matching route.\nConsider using VRoute(path: '.*', widget: UnknownPathWidget()) at the bottom of your VRouter routes to catch any wrong route."; 12 : }