Handle portal endpoint network error

This commit is contained in:
Kevin Yue
2024-03-29 00:00:03 -04:00
parent 187ca778f2
commit 79e0f0c7c1
6 changed files with 23 additions and 7 deletions

View File

@@ -6,6 +6,6 @@ pub enum PortalError {
PreloginError(String),
#[error("Portal config error: {0}")]
ConfigError(String),
#[error("Gateway error: {0}")]
GatewayError(String),
#[error("Network error: {0}")]
NetworkError(String),
}