mirror of
https://github.com/openai/codex.git
synced 2026-05-03 02:46:39 +00:00
12 lines
271 B
Rust
12 lines
271 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Debug, Error, PartialEq)]
|
|
pub enum FunctionCallError {
|
|
#[error("{0}")]
|
|
RespondToModel(String),
|
|
#[error("LocalShellCall without call_id or id")]
|
|
MissingLocalShellCallId,
|
|
#[error("Fatal error: {0}")]
|
|
Fatal(String),
|
|
}
|