TF-1008 Create the SetError Handler
This commit is contained in:
committed by
Dat H. Pham
parent
b3945491fb
commit
05a2be2f07
@@ -0,0 +1,7 @@
|
||||
import 'package:jmap_dart_client/jmap/core/error/set_error.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/id.dart';
|
||||
|
||||
typedef SetMethodErrors = Map<Id, SetError>;
|
||||
|
||||
/// Returns true if handle [setError] successfully and otherwise
|
||||
typedef SetMethodErrorHandler = bool Function(MapEntry<Id, SetError> setError);
|
||||
Reference in New Issue
Block a user