some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class AuthBlockException implements Exception {
|
||||
String description = "Неверный код. Вы временно заблокированы, попробуйте позже.";
|
||||
|
||||
AuthBlockException();
|
||||
|
||||
@override
|
||||
String toString() => description;
|
||||
}
|
||||
class AuthBlockException implements Exception {
|
||||
String description = "Неверный код. Вы временно заблокированы, попробуйте позже.";
|
||||
|
||||
AuthBlockException();
|
||||
|
||||
@override
|
||||
String toString() => description;
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
class AuthException implements Exception {
|
||||
int attemptsLeft;
|
||||
String? description;
|
||||
|
||||
AuthException(this.description, this.attemptsLeft);
|
||||
|
||||
@override
|
||||
String toString() => description ?? "Ошибка авторизации";
|
||||
}
|
||||
class AuthException implements Exception {
|
||||
int attemptsLeft;
|
||||
String? description;
|
||||
|
||||
AuthException(this.description, this.attemptsLeft);
|
||||
|
||||
@override
|
||||
String toString() => description ?? "Ошибка авторизации";
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class RouteHistoryNotFoundException implements Exception {
|
||||
final String message;
|
||||
|
||||
RouteHistoryNotFoundException({this.message = "История маршрута не найдена"});
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
class RouteHistoryNotFoundException implements Exception {
|
||||
final String message;
|
||||
|
||||
RouteHistoryNotFoundException({this.message = "История маршрута не найдена"});
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class ScooterNotFoundException implements Exception {
|
||||
final String message;
|
||||
|
||||
ScooterNotFoundException({this.message = "Самокат не найден"});
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
class ScooterNotFoundException implements Exception {
|
||||
final String message;
|
||||
|
||||
ScooterNotFoundException({this.message = "Самокат не найден"});
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class UnauthorizedException implements Exception {
|
||||
|
||||
@override
|
||||
String toString() => "Ошибка авторизации. Пользователь не авторизован";
|
||||
}
|
||||
class UnauthorizedException implements Exception {
|
||||
|
||||
@override
|
||||
String toString() => "Ошибка авторизации. Пользователь не авторизован";
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class WrongZoneException implements Exception {
|
||||
final String message;
|
||||
|
||||
WrongZoneException({required this.message});
|
||||
|
||||
}
|
||||
class WrongZoneException implements Exception {
|
||||
final String message;
|
||||
|
||||
WrongZoneException({required this.message});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user