pub enum BuilderValidationError {
MissingPropertyFtsSchema {
kind: String,
},
PathNotIndexed {
kind: String,
path: String,
},
KindRequiredForFusion {
method: String,
},
}Expand description
Errors raised by tethered search builders when a caller opts into a fused filter variant whose preconditions are not satisfied.
These errors are surfaced at filter-add time (before any SQL runs)
so developers who register a property-FTS schema for the kind see the
fused method succeed, while callers who forgot to register a schema
get a precise, actionable error instead of silent post-filter
degradation. See the Memex near-term roadmap item 7 and
.claude/memory/project_fused_json_filters_contract.md for the full
contract.
Variants§
MissingPropertyFtsSchema
The caller invoked a filter_json_fused_* method on a tethered
builder that has no registered property-FTS schema for the kind
it targets.
PathNotIndexed
The caller invoked a filter_json_fused_* method with a path
that is not covered by the registered property-FTS schema for the
kind.
Fields
KindRequiredForFusion
The caller invoked a filter_json_fused_* method on a tethered
builder that has not been bound to a specific kind (for example,
FallbackSearchBuilder without a preceding filter_kind_eq).
The fusion gate cannot resolve a schema without a kind.
Trait Implementations§
Source§impl Clone for BuilderValidationError
impl Clone for BuilderValidationError
Source§fn clone(&self) -> BuilderValidationError
fn clone(&self) -> BuilderValidationError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BuilderValidationError
impl Debug for BuilderValidationError
Source§impl Display for BuilderValidationError
impl Display for BuilderValidationError
Source§impl Error for BuilderValidationError
impl Error for BuilderValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()