summaryrefslogtreecommitdiff
path: root/plugins/warp/src/container.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-10-18 20:16:39 -0400
committerMason Reed <mason@vector35.com>2025-10-22 00:36:25 -0400
commitea914efbe24c80b6e1523471a7369d79ac07deb0 (patch)
tree61c0fcd05a49dc72bb83e81dd7340e59a41f2ed5 /plugins/warp/src/container.rs
parent92656ce40229cd9962febe57678d7ae5378b31a0 (diff)
[WARP] Use download provider API instead of reqwest
Unfortunately we cannot use reqwest because enterprise servers provide invalid certificates, so we must use the enterprise download provider to bypass certain certificate validations
Diffstat (limited to 'plugins/warp/src/container.rs')
-rw-r--r--plugins/warp/src/container.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/warp/src/container.rs b/plugins/warp/src/container.rs
index 8c76bc8f..b5e92bc7 100644
--- a/plugins/warp/src/container.rs
+++ b/plugins/warp/src/container.rs
@@ -35,6 +35,10 @@ pub enum ContainerError {
FailedIO(io::ErrorKind),
#[error("source {0} does not have an available path")]
SourcePathUnavailable(SourceId),
+ #[error("search failed: {0}")]
+ SearchFailed(String),
+ #[error("failed to commit source '{0}': {1}")]
+ CommitFailed(SourceId, String),
}
/// Represents the ID for a single container source.