15 lines
399 B
Dart
15 lines
399 B
Dart
import 'package:core/utils/app_logger.dart';
|
|
import 'package:tmail_ui_user/main/exceptions/exception_thrower.dart';
|
|
|
|
class CacheExceptionThrower extends ExceptionThrower {
|
|
|
|
@override
|
|
throwException(dynamic error, dynamic stackTrace) {
|
|
logError(
|
|
'CacheExceptionThrower::throwException():error: $error',
|
|
exception: error,
|
|
stackTrace: stackTrace,
|
|
);
|
|
throw error;
|
|
}
|
|
} |