TF-2928 Show confirm dialog & handle exception when reload browser or loss of connection
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
class PlatformException with EquatableMixin implements Exception {
|
||||
final String message;
|
||||
|
||||
PlatformException(this.message);
|
||||
|
||||
@override
|
||||
List<Object> get props => [message];
|
||||
}
|
||||
|
||||
class NoSupportPlatformException extends PlatformException {
|
||||
NoSupportPlatformException() : super('This platform is not supported');
|
||||
}
|
||||
Reference in New Issue
Block a user