0ca3ca170d
Signed-off-by: dab246 <tdvu@linagora.com>
15 lines
445 B
Dart
15 lines
445 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class PermissionException with EquatableMixin implements Exception {
|
|
|
|
final String? message;
|
|
|
|
const PermissionException({this.message});
|
|
}
|
|
|
|
class NotGrantedPermissionStorageException extends PermissionException {
|
|
const NotGrantedPermissionStorageException() : super(message: 'Permission Storage has not been granted access');
|
|
|
|
@override
|
|
List<Object?> get props => [super.message];
|
|
} |