mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-03 20:30:11 +08:00
Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.
8 lines
265 B
Rust
8 lines
265 B
Rust
#[derive(Debug, thiserror::Error)]
|
|
pub enum SubscriptionError {
|
|
#[error("the remote profile data is invalid yaml")]
|
|
InvalidYaml(#[source] serde_yaml_ng::Error),
|
|
#[error("profile does not contain `proxies` or `proxy-providers`")]
|
|
MissingProviders,
|
|
}
|