TF-2907 Handle error correctly when perform reply event action
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
|
||||
import 'package:jmap_dart_client/jmap/core/error/set_error.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
|
||||
class NotFoundCalendarEventException implements Exception {}
|
||||
|
||||
class NotParsableCalendarEventException implements Exception {}
|
||||
@@ -8,3 +11,9 @@ class NotAcceptableCalendarEventException implements Exception {}
|
||||
class NotMaybeableCalendarEventException implements Exception {}
|
||||
|
||||
class NotRejectableCalendarEventException implements Exception {}
|
||||
|
||||
class CannotReplyCalendarEventException implements Exception {
|
||||
final Map<Id, SetError>? mapErrors;
|
||||
|
||||
CannotReplyCalendarEventException({this.mapErrors});
|
||||
}
|
||||
Reference in New Issue
Block a user