fix: return error when trying to unregister unknown appservice id
This commit is contained in:
parent
7aa70e2030
commit
11612e347d
2 changed files with 4 additions and 1 deletions
|
@ -85,6 +85,8 @@ pub enum Error {
|
|||
#[cfg(feature = "conduit_bin")]
|
||||
#[error("{0}")]
|
||||
PathError(#[from] axum::extract::rejection::PathRejection),
|
||||
#[error("{0}")]
|
||||
AdminCommand(&'static str),
|
||||
}
|
||||
|
||||
impl Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue