Enum llm_chain::frame::FormatAndExecuteError  
source · pub enum FormatAndExecuteError {
    Format(StringTemplateError),
    Execute(ExecutorError),
}Expand description
An error that occurs when formatting and prompt template for an LLM
Variants§
Format(StringTemplateError)
Execute(ExecutorError)
Trait Implementations§
source§impl Debug for FormatAndExecuteError
 
impl Debug for FormatAndExecuteError
source§impl Display for FormatAndExecuteError
 
impl Display for FormatAndExecuteError
source§impl Error for FormatAndExecuteError
 
impl Error for FormatAndExecuteError
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 From<ExecutorError> for FormatAndExecuteError
 
impl From<ExecutorError> for FormatAndExecuteError
source§fn from(source: ExecutorError) -> Self
 
fn from(source: ExecutorError) -> Self
Converts to this type from the input type.
source§impl From<FormatAndExecuteError> for MapReduceChainError
 
impl From<FormatAndExecuteError> for MapReduceChainError
source§fn from(source: FormatAndExecuteError) -> Self
 
fn from(source: FormatAndExecuteError) -> Self
Converts to this type from the input type.
source§impl From<FormatAndExecuteError> for SequentialChainError
 
impl From<FormatAndExecuteError> for SequentialChainError
source§fn from(source: FormatAndExecuteError) -> Self
 
fn from(source: FormatAndExecuteError) -> Self
Converts to this type from the input type.
source§impl From<StringTemplateError> for FormatAndExecuteError
 
impl From<StringTemplateError> for FormatAndExecuteError
source§fn from(source: StringTemplateError) -> Self
 
fn from(source: StringTemplateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for FormatAndExecuteError
impl Send for FormatAndExecuteError
impl Sync for FormatAndExecuteError
impl Unpin for FormatAndExecuteError
impl !UnwindSafe for FormatAndExecuteError
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