pub enum GraphRagQueryGenerationError {
Show 13 variants
SchemaContextIntegrityMismatch {
expected: u64,
actual: u64,
},
SchemaFingerprintMismatch {
expected: u64,
actual: u64,
},
InvalidIdentifier {
kind: &'static str,
value: String,
},
UnknownLabel(String),
UnknownRoute {
source_label: String,
relationship_type: String,
target_label: String,
},
BindingUnavailable(GraphRagQueryBinding),
PropertyUnavailable {
binding: GraphRagQueryBinding,
property: String,
},
OperatorRequiresStringProperty {
binding: GraphRagQueryBinding,
property: String,
},
MissingParameter {
property: String,
},
UnexpectedParameter {
property: String,
},
ConflictingParameterRequirement {
parameter: String,
first: GraphRagQueryParameterRequirement,
second: GraphRagQueryParameterRequirement,
},
EmptyProjection,
InvalidLimit {
limit: usize,
maximum: usize,
},
}Variants§
SchemaContextIntegrityMismatch
SchemaFingerprintMismatch
InvalidIdentifier
UnknownLabel(String)
UnknownRoute
OperatorRequiresStringProperty
MissingParameter
UnexpectedParameter
ConflictingParameterRequirement
Fields
EmptyProjection
InvalidLimit
Trait Implementations§
Source§impl Clone for GraphRagQueryGenerationError
impl Clone for GraphRagQueryGenerationError
Source§impl Debug for GraphRagQueryGenerationError
impl Debug for GraphRagQueryGenerationError
impl Eq for GraphRagQueryGenerationError
Source§impl Error for GraphRagQueryGenerationError
impl Error for GraphRagQueryGenerationError
1.30.0 · 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()
impl StructuralPartialEq for GraphRagQueryGenerationError
Auto Trait Implementations§
impl Freeze for GraphRagQueryGenerationError
impl RefUnwindSafe for GraphRagQueryGenerationError
impl Send for GraphRagQueryGenerationError
impl Sync for GraphRagQueryGenerationError
impl Unpin for GraphRagQueryGenerationError
impl UnsafeUnpin for GraphRagQueryGenerationError
impl UnwindSafe for GraphRagQueryGenerationError
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