fix: 2025-12-29 update
This commit is contained in:
@@ -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