warpgate_api/
locator_error.rs1#[derive(thiserror::Error, Debug)]
3pub enum PluginLocatorError {
4 #[error("GitHub release locator requires a repository name with owner scope (owner/repo).")]
5 MissingGitHubOrg,
6
7 #[error("Missing plugin location (after protocol).")]
8 MissingLocation,
9
10 #[error("Missing plugin protocol. Supports file://, https://, and github://.")]
11 MissingProtocol,
12
13 #[error("Only secure URLs (https://) are supported for plugins.")]
14 SecureUrlsOnly,
15
16 #[error("Missing registry image.")]
17 MissingRegistryImage,
18
19 #[error("Unknown plugin protocol `{0}`.")]
20 UnknownProtocol(String),
21}