pub enum EvalError {
LoadError(String),
ParseError(String),
ExecutionError(String),
AgentError(String),
ConfigError(String),
IoError(Error),
JsonError(Error),
ScoringError(String),
JudgeError(String),
}Expand description
Errors that can occur during evaluation
Variants§
LoadError(String)
Failed to load test file
ParseError(String)
Failed to parse test file
ExecutionError(String)
Test case execution failed
AgentError(String)
Agent error during evaluation
ConfigError(String)
Invalid configuration
IoError(Error)
IO error
JsonError(Error)
JSON serialization error
ScoringError(String)
Scoring error
JudgeError(String)
LLM judge error
Trait Implementations§
Source§impl Error for EvalError
impl Error for EvalError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for EvalError
impl !RefUnwindSafe for EvalError
impl Send for EvalError
impl Sync for EvalError
impl Unpin for EvalError
impl !UnwindSafe for EvalError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more