#[non_exhaustive]pub enum QueryError {
Data(Box<DataError>),
Path(Box<PathParseError>),
Cast(Box<CastError>),
Edit(Box<EditError>),
IncompleteClipManifest(Box<IncompleteClipManifest>),
ClipLoad(Box<ClipLoad>),
}Expand description
Operational failure answering a composed query or building a prim index.
Recoverable composition problems are CompositionDiagnostic diagnostics
collected on the side
(Stage::composition_errors);
this type carries only operational failures, at most citing a diagnostic
as context (IncompleteClipManifest). Every variant boxes its payload
so the error arm stays pointer-sized on the query paths that return it
constantly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Data(Box<DataError>)
A layer backend failed to decode an authored field value.
Path(Box<PathParseError>)
A recombined path string failed validation.
Cast(Box<CastError>)
A composed metadata value does not hold the type the query requires.
Edit(Box<EditError>)
Synthesizing an in-memory layer (a generated clip manifest) failed.
IncompleteClipManifest(Box<IncompleteClipManifest>)
A clip the schedule names could not be read, so a complete manifest cannot be generated.
ClipLoad(Box<ClipLoad>)
A value-clip layer demanded during value resolution failed to load.
Trait Implementations§
Source§impl Debug for QueryError
impl Debug for QueryError
Source§impl Display for QueryError
impl Display for QueryError
Source§impl Error for QueryError
impl Error for QueryError
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()
Source§impl From<!> for QueryError
An infallible conversion can never produce an error; the impl exists so
generic TryFrom<sdf::Value> bounds accept the reflexive conversion.
impl From<!> for QueryError
An infallible conversion can never produce an error; the impl exists so
generic TryFrom<sdf::Value> bounds accept the reflexive conversion.