basic echo HTTP server
This commit is contained in:
1 parent
c86a898879
commit
d976eebbbc
11 files changed
+151
-45
No files matched your search
+4
-1
@@ -5,7 +5,7 @@ use thiserror::Error;
|
||||
#[derive(Error, Debug)]
|
||||
pub enum CreddyError {
|
||||
#[error("Couldn't determine location for app state")]
|
||||
DataDirNotFound,
|
||||
DirNotFound,
|
||||
|
||||
#[error("Invalid path: {0:?}")]
|
||||
InvalidPath(OsString),
|
||||
@@ -30,4 +30,7 @@ pub enum CreddyError {
|
||||
|
||||
#[error("Invalid JSON: {0}")]
|
||||
InvalidJSON(#[from] serde_json::Error),
|
||||
|
||||
#[error("Failed to bind socket: {0}")]
|
||||
SocketBind(String),
|
||||
}
|
||||
Reference in new issue
Block a user