basic echo HTTP server

This commit is contained in:
jfmonty2 committed 2026-11-22 06:14:06 -05:00
1 parent c86a898879
commit d976eebbbc
11 files changed
+151 -45

No files matched your search

+4 -1
View File
@@ -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),
}