refactor: cleanup codes
This commit is contained in:
parent
13e82035a8
commit
f6c4032f83
10 changed files with 280 additions and 124 deletions
|
|
@ -10,9 +10,15 @@ pub enum RpxyError {
|
|||
#[error("Proxy build error")]
|
||||
ProxyBuild(#[from] crate::proxy::ProxyBuilderError),
|
||||
|
||||
#[error("Backend build error")]
|
||||
BackendBuild(#[from] crate::backend::BackendBuilderError),
|
||||
|
||||
#[error("MessageHandler build error")]
|
||||
HandlerBuild(#[from] crate::handler::HttpMessageHandlerBuilderError),
|
||||
|
||||
#[error("Config builder error: {0}")]
|
||||
ConfigBuild(&'static str),
|
||||
|
||||
#[error("Http Message Handler Error: {0}")]
|
||||
Handler(&'static str),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue