JMAP Registry API implementation - part 7
This commit is contained in:
@@ -220,6 +220,10 @@ impl<T: Property> SetError<T> {
|
||||
Self::new(SetErrorType::InvalidProperties)
|
||||
}
|
||||
|
||||
pub fn invalid_patch() -> Self {
|
||||
Self::new(SetErrorType::InvalidPatch)
|
||||
}
|
||||
|
||||
pub fn forbidden() -> Self {
|
||||
Self::new(SetErrorType::Forbidden)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user