#[non_exhaustive]pub enum ConversationSummarizerError {
Run(AgentError),
Encode(Error),
InvalidPassLimit,
InvalidOutput,
}Expand description
Failure produced before a summary can be committed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Run(AgentError)
The configured summarizer Agent failed through its canonical execution path.
Encode(Error)
Canonical transcript data could not be encoded for the summary request.
InvalidPassLimit
Automatic compaction pass limit was outside the supported range.
InvalidOutput
The summarizer returned an unusable summary.
Trait Implementations§
Source§impl Debug for ConversationSummarizerError
impl Debug for ConversationSummarizerError
Source§impl Error for ConversationSummarizerError
impl Error for ConversationSummarizerError
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<ConversationSummarizerError> for AgentConversationError
impl From<ConversationSummarizerError> for AgentConversationError
Source§fn from(source: ConversationSummarizerError) -> Self
fn from(source: ConversationSummarizerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ConversationSummarizerError
impl !UnwindSafe for ConversationSummarizerError
impl Freeze for ConversationSummarizerError
impl Send for ConversationSummarizerError
impl Sync for ConversationSummarizerError
impl Unpin for ConversationSummarizerError
impl UnsafeUnpin for ConversationSummarizerError
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