TF-1115 Implement catch exception for MailboxDataSource
This commit is contained in:
@@ -4,7 +4,7 @@ import 'package:tmail_ui_user/main/exceptions/exception_thrower.dart';
|
||||
class CacheExceptionThrower extends ExceptionThrower {
|
||||
|
||||
@override
|
||||
void throwException(dynamic exception) {
|
||||
throw UnknownCacheError(message: exception.toString());
|
||||
void throwException(dynamic error) {
|
||||
throw UnknownCacheError(message: error.toString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user