1pub mod author;
8pub mod gate;
9pub mod index;
10pub mod orchestrator;
11pub mod progress;
12pub mod promote;
13pub mod record;
14pub mod review;
15pub mod route;
16pub mod worktree;
17
18use thiserror::Error;
19
20#[derive(Debug, Error)]
21pub enum Error {
22 #[error(transparent)]
23 Core(#[from] ostraka_core::Error),
24
25 #[error(transparent)]
26 Adapter(#[from] ostraka_adapter::Error),
27
28 #[error("io: {0}")]
29 Io(#[from] std::io::Error),
30
31 #[error("{0}")]
32 Other(String),
33}
34
35pub type Result<T> = std::result::Result<T, Error>;