Enum llm_chain::chains::sequential::SequentialChainError
source · pub enum SequentialChainError<Err: ExecutorError> {
FormatAndExecuteError(FormatAndExecuteError<Err>),
NoSteps,
}
Expand description
The SequentialChainError
enum represents errors that can occur when executing a sequential chain.
Variants§
FormatAndExecuteError(FormatAndExecuteError<Err>)
NoSteps
Trait Implementations§
source§impl<Err: Debug + ExecutorError> Debug for SequentialChainError<Err>
impl<Err: Debug + ExecutorError> Debug for SequentialChainError<Err>
source§impl<Err: ExecutorError> Display for SequentialChainError<Err>where
FormatAndExecuteError<Err>: Display,
impl<Err: ExecutorError> Display for SequentialChainError<Err>where FormatAndExecuteError<Err>: Display,
source§impl<Err: ExecutorError> Error for SequentialChainError<Err>where
FormatAndExecuteError<Err>: Error + 'static,
Self: Debug + Display,
impl<Err: ExecutorError> Error for SequentialChainError<Err>where FormatAndExecuteError<Err>: Error + 'static, Self: Debug + Display,
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Err: ExecutorError> From<FormatAndExecuteError<Err>> for SequentialChainError<Err>
impl<Err: ExecutorError> From<FormatAndExecuteError<Err>> for SequentialChainError<Err>
source§fn from(source: FormatAndExecuteError<Err>) -> Self
fn from(source: FormatAndExecuteError<Err>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Err> RefUnwindSafe for SequentialChainError<Err>where Err: RefUnwindSafe,
impl<Err> Send for SequentialChainError<Err>where Err: Send,
impl<Err> Sync for SequentialChainError<Err>where Err: Sync,
impl<Err> Unpin for SequentialChainError<Err>where Err: Unpin,
impl<Err> UnwindSafe for SequentialChainError<Err>where Err: UnwindSafe,
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