pub enum RunnerError {
Configuration {
message: String,
source: Option<Box<dyn Error + Send + Sync>>,
},
UnknownRouteModel(String),
IncompatibleCallerFormat(CallerAuthKind),
AuxiliaryUnsupported,
Algorithm(LibsyError),
Client(LlmClientError),
}Expand description
Error returned while loading or executing configured routes.
Variants§
Configuration
UnknownRouteModel(String)
IncompatibleCallerFormat(CallerAuthKind)
AuxiliaryUnsupported
Algorithm(LibsyError)
Client(LlmClientError)
Implementations§
Source§impl RunnerError
impl RunnerError
Sourcepub fn execution_error_summary(&self) -> RouteErrorSummary
pub fn execution_error_summary(&self) -> RouteErrorSummary
Returns a safe telemetry summary for a failure before response delivery.
Trait Implementations§
Source§impl Debug for RunnerError
impl Debug for RunnerError
Source§impl Display for RunnerError
impl Display for RunnerError
Source§impl Error for RunnerError
impl Error for RunnerError
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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<LibsyError> for RunnerError
impl From<LibsyError> for RunnerError
Source§fn from(source: LibsyError) -> Self
fn from(source: LibsyError) -> Self
Converts to this type from the input type.
Source§impl From<LlmClientError> for RunnerError
impl From<LlmClientError> for RunnerError
Source§fn from(source: LlmClientError) -> Self
fn from(source: LlmClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RunnerError
impl !UnwindSafe for RunnerError
impl Freeze for RunnerError
impl Send for RunnerError
impl Sync for RunnerError
impl Unpin for RunnerError
impl UnsafeUnpin for RunnerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more