TF-3719 Add handle export log to device if need
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
abstract class FileException with EquatableMixin implements Exception {
|
||||
final String message;
|
||||
|
||||
FileException(this.message);
|
||||
|
||||
@override
|
||||
String toString() => message;
|
||||
|
||||
@override
|
||||
List<Object> get props => [message];
|
||||
}
|
||||
|
||||
class NotFoundFileInFolderException extends FileException {
|
||||
NotFoundFileInFolderException() : super('No files found in the folder');
|
||||
}
|
||||
|
||||
class UserCancelShareFileException extends FileException {
|
||||
UserCancelShareFileException() : super('User cancel share file');
|
||||
}
|
||||
Reference in New Issue
Block a user