fix: 2025-12-29 update
This commit is contained in:
1 parent
8d2c3ab82c
commit
beb8fd3e5b
2 files changed
+7
No files matched your search
@@ -65,6 +65,7 @@ impl UserLoginApiResp {
|
||||
100 => Some(LoginError::AlreadyLogged),
|
||||
102 => Some(LoginError::QRCodeExpired),
|
||||
103 => Some(LoginError::AccountUnregistered),
|
||||
106 => Some(LoginError::KeychipMismatch),
|
||||
error => Some(LoginError::Unknown { error }),
|
||||
}
|
||||
}
|
||||
@@ -78,6 +79,8 @@ pub enum LoginError {
|
||||
AlreadyLogged,
|
||||
#[snafu(display("userId does not exist"))]
|
||||
AccountUnregistered,
|
||||
#[snafu(display("KeyChip-ID mismatch"))]
|
||||
KeychipMismatch,
|
||||
|
||||
#[snafu(display("Unknown error: {error}"))]
|
||||
Unknown { error: i32 },
|
||||
|
||||
Reference in new issue
Block a user