mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 09:35:33 +00:00
fix status code error types
This commit is contained in:
parent
8f7bbaec76
commit
c2b06fd688
4 changed files with 5 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ impl Status {
|
|||
Ok(string) => Self::from_string(string.as_str()),
|
||||
Err(_) => Err(Error::Decode),
|
||||
},
|
||||
None => Err(Error::Undefined),
|
||||
None => Err(Error::Protocol),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue