Files
kmobile/lib/core/errors/exceptions.dart
2025-08-18 03:32:51 +05:30

25 lines
464 B
Dart

class AppException implements Exception {
final String message;
AppException(this.message);
@override
String toString() => message;
}
class NetworkException extends AppException {
NetworkException(super.message);
}
class AuthException implements Exception {
final String message;
AuthException(this.message);
@override
String toString() => message;
}
class UnexpectedException extends AppException {
UnexpectedException(super.message);
}