#[non_exhaustive]pub enum TransitionFamilyError {
Show 15 variants
SourceTooLarge,
NormalizedTooLarge,
InvalidText {
field: &'static str,
},
InvalidDocumentFamilyId,
InvalidTolerance {
field: &'static str,
},
TooFewMembers,
TooManyMembers,
TooManyFamilies,
TooManyAggregateMembers,
DuplicateMember,
DuplicateFamily,
EmptyCollection,
CollectionFamilyOutsideOwner,
CollectionMemberOutsideOwner,
ManifestTooLarge,
}Expand description
Typed validation failure for transition-family V1 declarations.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
SourceTooLarge
The exact source exceeded the V1 byte cap.
NormalizedTooLarge
The normalized JCS representation exceeded the V1 byte cap.
InvalidText
An authored field was malformed, empty, or exceeded its byte cap.
InvalidDocumentFamilyId
A document family id did not meet the V1 grammar.
InvalidTolerance
A tolerance was non-finite or negative.
TooFewMembers
One family did not have at least two members.
TooManyMembers
One family exceeded its member cap.
TooManyFamilies
The declaration exceeded its family cap.
TooManyAggregateMembers
The declaration exceeded its aggregate member cap.
DuplicateMember
A member witness appeared more than once in a family.
DuplicateFamily
A family id appeared more than once in an owner.
EmptyCollection
A collection envelope must contain at least one family.
CollectionFamilyOutsideOwner
A collection family id was outside its bound collection namespace.
CollectionMemberOutsideOwner
A collection member logical id was outside its bound collection namespace.
ManifestTooLarge
The embedded manifest byte identity exceeds the manifest cap.
Trait Implementations§
Source§impl Clone for TransitionFamilyError
impl Clone for TransitionFamilyError
Source§fn clone(&self) -> TransitionFamilyError
fn clone(&self) -> TransitionFamilyError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransitionFamilyError
impl Debug for TransitionFamilyError
Source§impl Display for TransitionFamilyError
impl Display for TransitionFamilyError
impl Eq for TransitionFamilyError
Source§impl Error for TransitionFamilyError
impl Error for TransitionFamilyError
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()