mirror of
https://codeberg.org/demostf/api-client.git
synced 2026-06-03 16:44:09 +02:00
show error code in error message
This commit is contained in:
parent
d32f3674f3
commit
61873fbee7
3 changed files with 3 additions and 3 deletions
|
|
@ -28,7 +28,7 @@ pub enum Error {
|
|||
InvalidApiKey,
|
||||
#[error("Hash mismatch")]
|
||||
HashMisMatch,
|
||||
#[error("Unknown server error")]
|
||||
#[error("Unknown server error {0}")]
|
||||
ServerError(u16),
|
||||
#[error("Invalid response: {0}")]
|
||||
InvalidResponse(String),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue