mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 17:45:35 +00:00
handle Titan requests
This commit is contained in:
parent
caa61bb808
commit
ee0216a1a0
2 changed files with 35 additions and 14 deletions
|
|
@ -2,7 +2,7 @@ use std::fmt::{Display, Formatter, Result};
|
|||
|
||||
#[derive(Debug)]
|
||||
pub enum Error {
|
||||
Request((Vec<u8>, glib::Error)),
|
||||
Request(glib::Error),
|
||||
Response(crate::client::connection::response::Error),
|
||||
TlsClientConnection(glib::Error),
|
||||
}
|
||||
|
|
@ -10,7 +10,7 @@ pub enum Error {
|
|||
impl Display for Error {
|
||||
fn fmt(&self, f: &mut Formatter) -> Result {
|
||||
match self {
|
||||
Self::Request((_, e)) => {
|
||||
Self::Request(e) => {
|
||||
write!(f, "Request error: {e}")
|
||||
}
|
||||
Self::Response(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue