api integration
This commit is contained in:
@@ -11,8 +11,12 @@ class NetworkException extends AppException {
|
||||
NetworkException(super.message);
|
||||
}
|
||||
|
||||
class AuthException extends AppException {
|
||||
AuthException(super.message);
|
||||
class AuthException implements Exception{
|
||||
final String message;
|
||||
AuthException(this.message);
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
}
|
||||
|
||||
class UnexpectedException extends AppException {
|
||||
|
Reference in New Issue
Block a user