client-api: Add M_BAD_ALIAS to ErrorKind
This commit is contained in:
parent
2dbaf19ded
commit
a4a14aa9dc
@ -5,6 +5,10 @@ Breaking changes:
|
|||||||
* Remove `sync::sync_events::v3::DeviceLists` re-export
|
* Remove `sync::sync_events::v3::DeviceLists` re-export
|
||||||
* Use `sync::sync_events::DeviceLists` instead
|
* Use `sync::sync_events::DeviceLists` instead
|
||||||
|
|
||||||
|
Improvements:
|
||||||
|
|
||||||
|
* Add `M_BAD_ALIAS` to `error::ErrorKind`
|
||||||
|
|
||||||
# 0.15.1
|
# 0.15.1
|
||||||
|
|
||||||
Improvements:
|
Improvements:
|
||||||
|
@ -147,6 +147,9 @@ pub enum ErrorKind {
|
|||||||
/// M_UNABLE_TO_GRANT_JOIN
|
/// M_UNABLE_TO_GRANT_JOIN
|
||||||
UnableToGrantJoin,
|
UnableToGrantJoin,
|
||||||
|
|
||||||
|
/// M_BAD_ALIAS
|
||||||
|
BadAlias,
|
||||||
|
|
||||||
/// FI.MAU.MSC2246_NOT_YET_UPLOADED
|
/// FI.MAU.MSC2246_NOT_YET_UPLOADED
|
||||||
#[cfg(feature = "unstable-msc2246")]
|
#[cfg(feature = "unstable-msc2246")]
|
||||||
NotYetUploaded,
|
NotYetUploaded,
|
||||||
@ -201,6 +204,7 @@ impl AsRef<str> for ErrorKind {
|
|||||||
Self::WeakPassword => "M_WEAK_PASSWORD",
|
Self::WeakPassword => "M_WEAK_PASSWORD",
|
||||||
Self::UnableToAuthorizeJoin => "M_UNABLE_TO_AUTHORISE_JOIN",
|
Self::UnableToAuthorizeJoin => "M_UNABLE_TO_AUTHORISE_JOIN",
|
||||||
Self::UnableToGrantJoin => "M_UNABLE_TO_GRANT_JOIN",
|
Self::UnableToGrantJoin => "M_UNABLE_TO_GRANT_JOIN",
|
||||||
|
Self::BadAlias => "M_BAD_ALIAS",
|
||||||
#[cfg(feature = "unstable-msc2246")]
|
#[cfg(feature = "unstable-msc2246")]
|
||||||
Self::NotYetUploaded => "FI.MAU.MSC2246_NOT_YET_UPLOADED",
|
Self::NotYetUploaded => "FI.MAU.MSC2246_NOT_YET_UPLOADED",
|
||||||
#[cfg(feature = "unstable-msc2246")]
|
#[cfg(feature = "unstable-msc2246")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user