Add M_USER_DEACTIVATED to ErrorKind
This commit is contained in:
parent
473cf23861
commit
aec59b86aa
@ -23,6 +23,7 @@ Breaking changes:
|
||||
* Change all usages of `HashMap` to `BTreeMap`
|
||||
* Change the messages type that gets sent out using the `r0::client_exchange::send_event_to_device`
|
||||
request.
|
||||
* Add `M_USER_DEACTIVATED` to `error::ErrorKind`
|
||||
|
||||
Improvements:
|
||||
|
||||
|
@ -51,6 +51,10 @@ pub enum ErrorKind {
|
||||
#[serde(rename = "M_UNAUTHORIZED")]
|
||||
#[strum(to_string = "M_UNAUTHORIZED")]
|
||||
Unauthorized,
|
||||
/// M_USER_DEACTIVATED
|
||||
#[serde(rename = "M_USER_DEACTIVATED")]
|
||||
#[strum(to_string = "M_USER_DEACTIVATED")]
|
||||
UserDeactivated,
|
||||
/// M_USER_IN_USE
|
||||
#[serde(rename = "M_USER_IN_USE")]
|
||||
#[strum(to_string = "M_USER_IN_USE")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user