mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 01:25:32 +00:00
enshort common error name
This commit is contained in:
parent
809e54b887
commit
a06e4e9eff
16 changed files with 49 additions and 49 deletions
|
|
@ -43,7 +43,7 @@ impl Status {
|
|||
match buffer.get(0..2) {
|
||||
Some(value) => match GString::from_utf8(value.to_vec()) {
|
||||
Ok(string) => Self::from_string(string.as_str()),
|
||||
Err(reason) => Err(Error::Decode(reason)),
|
||||
Err(e) => Err(Error::Decode(e)),
|
||||
},
|
||||
None => Err(Error::Protocol),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue