Add M_USER_DEACTIVATED to ErrorKind

This commit is contained in:
Isaiah Inuwa 2020-04-23 16:01:51 -05:00
parent 473cf23861
commit aec59b86aa
2 changed files with 5 additions and 0 deletions

View File

@ -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:

View File

@ -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")]