1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

storage: unify the compat login errors

This commit is contained in:
Quentin Gliech
2022-12-07 17:26:28 +01:00
parent 1ddc05ff01
commit f7f65e314b
14 changed files with 314 additions and 359 deletions

View File

@@ -62,7 +62,7 @@ macro_rules! impl_from_error_for_route {
($error:ty) => {
impl From<$error> for self::RouteError {
fn from(e: $error) -> Self {
Self::InternalError(Box::new(e))
Self::Internal(Box::new(e))
}
}
};