TF-2907 Handle error correctly when perform reply event action

This commit is contained in:
dab246
2024-07-09 19:52:38 +07:00
committed by Dat H. Pham
parent 9bdb327c9e
commit 0a8a0b0a6d
3 changed files with 45 additions and 9 deletions
@@ -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});
}