use thiserror::Error; #[derive(Debug, Error, PartialEq)] pub enum FunctionCallError { #[error("{0}")] RespondToModel(String), #[error("{0}")] #[allow(dead_code)] // TODO(jif) fix in a follow-up PR Denied(String), #[error("LocalShellCall without call_id or id")] MissingLocalShellCallId, #[error("Fatal error: {0}")] Fatal(String), }