pub enum SemqError {
Parse(ParseError),
Store(StoreError),
Embed(EmbedError),
Retrieve(RetrieveError),
Synth(SynthError),
Llm(LlmError),
Model(ModelError),
}Variants§
Parse(ParseError)
Store(StoreError)
Embed(EmbedError)
Retrieve(RetrieveError)
Synth(SynthError)
Llm(LlmError)
Model(ModelError)
Trait Implementations§
Source§impl Error for SemqError
impl Error for SemqError
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<EmbedError> for SemqError
impl From<EmbedError> for SemqError
Source§fn from(source: EmbedError) -> Self
fn from(source: EmbedError) -> Self
Converts to this type from the input type.
Source§impl From<ModelError> for SemqError
impl From<ModelError> for SemqError
Source§fn from(source: ModelError) -> Self
fn from(source: ModelError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for SemqError
impl From<ParseError> for SemqError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RetrieveError> for SemqError
impl From<RetrieveError> for SemqError
Source§fn from(source: RetrieveError) -> Self
fn from(source: RetrieveError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for SemqError
impl From<StoreError> for SemqError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<SynthError> for SemqError
impl From<SynthError> for SemqError
Source§fn from(source: SynthError) -> Self
fn from(source: SynthError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SemqError
impl !UnwindSafe for SemqError
impl Forget for SemqError
impl Freeze for SemqError
impl Move for SemqError
impl Send for SemqError
impl Sync for SemqError
impl Unpin for SemqError
impl UnsafeUnpin for SemqError
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