mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
11 lines
386 B
Rust
11 lines
386 B
Rust
use std::io;
|
|
|
|
#[derive(Debug, thiserror::Error)]
|
|
pub enum Error {
|
|
#[error("reserving a host port for the Redis container")]
|
|
Port(#[source] io::Error),
|
|
#[error("Redis on host port {port} did not answer PING")]
|
|
Unreachable { port: u16 },
|
|
#[error("controlling the Redis container")]
|
|
Container(#[from] testcontainers_modules::testcontainers::TestcontainersError),
|
|
}
|