11 lines
257 B
Rust
11 lines
257 B
Rust
use thiserror::Error;
|
|
|
|
/// Error returned while executing a model-visible tool invocation.
|
|
#[derive(Debug, Error, PartialEq)]
|
|
pub enum FunctionCallError {
|
|
#[error("{0}")]
|
|
RespondToModel(String),
|
|
#[error("Fatal error: {0}")]
|
|
Fatal(String),
|
|
}
|