#[non_exhaustive]pub enum SourceFactsError {
Show 13 variants
TextTooLong {
bytes: usize,
limit: usize,
},
InvalidLogicalLocator,
DuplicateBasisAxis,
InvalidLinearUnit,
InvalidFramesPerSecond,
InvalidTimeRange,
ZeroConstructCount,
NonCanonicalClipIndex {
expected: usize,
actual: usize,
},
NonCanonicalChannelIndex {
source_clip_index: usize,
expected: usize,
actual: usize,
},
NonCanonicalConstructOrder {
expected: usize,
actual: usize,
},
NonCanonicalResourceOrder {
expected: usize,
actual: usize,
},
NormalizedClipIndexOutOfRange {
index: usize,
clip_count: usize,
},
DependencyClosure(DependencyClosureError),
}Expand description
Invalid raw-source fact or document-binding invariant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TextTooLong
One retained source string exceeds the public V1 limit.
InvalidLogicalLocator
A provenance locator is outside the generated source-logical vocabulary.
DuplicateBasisAxis
Coordinate basis reuses an unsigned axis.
InvalidLinearUnit
Linear unit is not finite and positive.
InvalidFramesPerSecond
Source frame rate is not finite and positive.
InvalidTimeRange
Source range is non-finite or reversed.
ZeroConstructCount
A positive-presence construct row has no occurrences.
NonCanonicalClipIndex
Source clip rows do not form the canonical zero-based source prefix.
NonCanonicalChannelIndex
Nested channel rows do not form the canonical zero-based source prefix.
Fields
NonCanonicalConstructOrder
Construct rows do not form the canonical deterministic prefix.
NonCanonicalResourceOrder
Resource rows do not form the canonical deterministic prefix.
NormalizedClipIndexOutOfRange
A source clip maps outside the normalized document.
DependencyClosure(DependencyClosureError)
The dependency closure did not bind to these exact raw facts.
Trait Implementations§
Source§impl Debug for SourceFactsError
impl Debug for SourceFactsError
Source§impl Display for SourceFactsError
impl Display for SourceFactsError
impl Eq for SourceFactsError
Source§impl Error for SourceFactsError
impl Error for SourceFactsError
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()