Skip to content

Commit 0d8c630

Browse files
committed
Add unit test for Mailbox/clear method
1 parent 731864b commit 0d8c630

File tree

2 files changed

+640
-0
lines changed

2 files changed

+640
-0
lines changed

lib/jmap/core/error/set_error.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class SetError with EquatableMixin {
1717
static final invalidProperties = ErrorType("invalidProperties");
1818
static final invalidArguments = ErrorType("invalidArguments");
1919
static final singleton = ErrorType("singleton");
20+
static final serverFail = ErrorType("serverFail");
2021

2122
final ErrorType type;
2223
final String? description;
@@ -40,5 +41,6 @@ class SetError with EquatableMixin {
4041
SetError.willDestroy,
4142
SetError.invalidProperties,
4243
SetError.singleton,
44+
SetError.serverFail,
4345
};
4446
}

0 commit comments

Comments
 (0)