10 lines
309 B
Dart
10 lines
309 B
Dart
import 'package:tmail_ui_user/main/exceptions/cache_exception.dart';
|
|
import 'package:tmail_ui_user/main/exceptions/exception_thrower.dart';
|
|
|
|
class CacheExceptionThrower extends ExceptionThrower {
|
|
|
|
@override
|
|
void throwException(dynamic error) {
|
|
throw UnknownCacheError(message: error.toString());
|
|
}
|
|
} |