mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 09:35:33 +00:00
fix route by first byte
This commit is contained in:
parent
788b792167
commit
a5fbca2ace
4 changed files with 15 additions and 15 deletions
|
|
@ -6,7 +6,7 @@ use std::{
|
|||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Certificate(super::certificate::Error),
|
||||
Code(u8),
|
||||
Code,
|
||||
Failure(super::failure::Error),
|
||||
Input(super::input::Error),
|
||||
Protocol,
|
||||
|
|
@ -22,8 +22,8 @@ impl Display for Error {
|
|||
Self::Certificate(e) => {
|
||||
write!(f, "Certificate error: {e}")
|
||||
}
|
||||
Self::Code(e) => {
|
||||
write!(f, "Code group error: {e}*")
|
||||
Self::Code => {
|
||||
write!(f, "Code group error")
|
||||
}
|
||||
Self::Failure(e) => {
|
||||
write!(f, "Failure error: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue