Handle the gateway endpoint error

Related: #338
This commit is contained in:
Kevin Yue
2024-03-25 20:35:01 +08:00
parent 08bd4efefa
commit 2d1aa3ba8c
8 changed files with 28 additions and 16 deletions

View File

@@ -7,9 +7,9 @@ use specta::Type;
use crate::{
credential::{AuthCookieCredential, Credential},
error::PortalError,
gateway::{parse_gateways, Gateway},
gp_params::GpParams,
portal::PortalError,
utils::{normalize_server, parse_gp_error, remove_url_scheme, xml},
};