Skip to content

Commit

Permalink
✏️ feat: add InternalServerError variant and improve error handling i…
Browse files Browse the repository at this point in the history
…n Response struct
  • Loading branch information
Aitthi committed Nov 9, 2024
1 parent e008fdf commit 66167b5
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 112 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "easy-proxy"
version = "0.1.10"
version = "0.1.11"
edition = "2021"

[dependencies]
lazy_static = "1.5.0"
once_cell = "1.20.2"
pingora = { git = "https://github.com/cloudflare/pingora", rev="2228bfb3518dd6451261a6e319a41b7eb4604c22", features = ["lb", "openssl"] }
thiserror = "1.0"
thiserror = "2.0"
serde_yml = "0.0.12"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
3 changes: 3 additions & 0 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ pub enum Errors {

#[error("ACME client error: {0}")]
AcmeClientError(String),

#[error("Server error: {0}")]
InternalServerError(String),
}
Loading

0 comments on commit 66167b5

Please sign in to comment.