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