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("Container exec completed without an exit code")]
19 MissingExecExitCode,
20}
21
22#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
23#[error("invalid container image reference '{reference}'")]
24pub struct ImageParseError {
25 pub(crate) reference: String,
26}