new project stable version
This commit is contained in:
9
lib/data/exceptions/auth_exception.dart
Normal file
9
lib/data/exceptions/auth_exception.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
class AuthException implements Exception {
|
||||
int attemptsLeft;
|
||||
String? description;
|
||||
|
||||
AuthException(this.description, this.attemptsLeft);
|
||||
|
||||
@override
|
||||
String toString() => description ?? "Ошибка авторизации";
|
||||
}
|
||||
Reference in New Issue
Block a user