mirror of
https://github.com/htrefil/rkvm.git
synced 2024-12-26 09:58:32 +01:00
Improve message for failed auth error
This commit is contained in:
parent
c210f2c85a
commit
60f9e20b0e
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ pub enum Error {
|
|||
Input(io::Error),
|
||||
#[error("Incompatible server version (got {server}, expected {client})")]
|
||||
Version { server: Version, client: Version },
|
||||
#[error("Auth challenge failed (possibly wrong password)")]
|
||||
#[error("Invalid password")]
|
||||
Auth,
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ enum ClientError {
|
|||
Io(#[from] io::Error),
|
||||
#[error("Incompatible client version (got {client}, expected {server})")]
|
||||
Version { server: Version, client: Version },
|
||||
#[error("Auth challenge failed (possibly wrong password)")]
|
||||
#[error("Invalid password")]
|
||||
Auth,
|
||||
#[error(transparent)]
|
||||
Rand(#[from] rand::Error),
|
||||
|
|
Loading…
Reference in a new issue