objectiveai-sdk 2.0.5

ObjectiveAI SDK, definitions, and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("missing required file: {0}")]
    MissingFile(&'static str),
    #[error("deserialization error in {file}: {source}")]
    Deserialize {
        file: &'static str,
        source: serde_path_to_error::Error<serde_json::Error>,
    },
    #[error("function.json contains unrecognized function type: {0}")]
    UnrecognizedFunctionType(String),
}