canic_host/observatory/
mod.rs1pub mod model;
6pub mod ops;
7pub mod policy;
8#[cfg(test)]
9mod tests;
10pub mod view;
11pub mod workflow;
12
13#[derive(Debug, thiserror::Error)]
15pub enum ObservatoryError {
16 #[error("observatory {0} exceeds its explicit bound")]
17 Bound(&'static str),
18 #[error("invalid observatory profile or selection")]
19 Profile,
20 #[error("Fleet authority changed during observation; collect a new snapshot")]
21 AuthorityChanged,
22 #[error(transparent)]
23 Io(#[from] std::io::Error),
24 #[error(transparent)]
25 Json(#[from] serde_json::Error),
26}