Middle Relay Cancellation Errors

This commit is contained in:
Alexey
2026-05-10 14:12:15 +03:00
parent 900b574fb8
commit 10c7cb2e0c
3 changed files with 15 additions and 6 deletions

View File

@@ -228,6 +228,15 @@ pub enum ProxyError {
#[error("Session terminated")]
RouteSwitched,
#[error("Traffic budget wait cancelled")]
TrafficBudgetWaitCancelled,
#[error("Traffic budget wait deadline exceeded")]
TrafficBudgetWaitDeadlineExceeded,
#[error("ME client writer cancelled")]
MiddleClientWriterCancelled,
// ============= Config Errors =============
#[error("Config error: {0}")]
Config(String),