aether_evals/containers/
error.rs1#[derive(Debug, thiserror::Error)]
2pub enum ContainerError {
3 #[error("Container operation failed: {0}")]
4 Testcontainers(#[from] testcontainers::TestcontainersError),
5
6 #[error("Failed to create ephemeral mount temporary directory: {source}")]
7 EphemeralMountTempDir {
8 #[source]
9 source: std::io::Error,
10 },
11
12 #[error("Failed to read container stdout: {source}")]
13 StdoutRead {
14 #[source]
15 source: std::io::Error,
16 },
17
18 #[error("Failed to inspect container exec: {source}")]
19 ExecInspection {
20 #[source]
21 source: tokio::task::JoinError,
22 },
23
24 #[error("Container exec completed without an exit code")]
25 MissingExecExitCode,
26}
27
28#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
29#[error("invalid container image reference '{reference}'")]
30pub struct ImageParseError {
31 pub(crate) reference: String,
32}