wavekat_turn/error.rs
1use thiserror::Error;
2
3/// Errors that can occur during turn detection.
4#[derive(Debug, Error)]
5pub enum TurnError {
6 #[error("backend error: {0}")]
7 BackendError(String),
8
9 #[error("invalid input: {0}")]
10 InvalidInput(String),
11
12 #[error("model not loaded: {0}")]
13 ModelNotLoaded(String),
14}