Enumeration
SiblingsPropertyError
An error describing a failure during an an operation on an
SiblingsProperty.enum SiblingsPropertyError
Overview
Note
This should just be another case on FluentError, not a separate error type, but at the time of this writing, non-frozen enums are still not available to non-stdlib packages, so to avoid source breakage we chose this as the least annoying of the several annoying workarounds.
Topics
Enumeration Cases
SiblingsPropertyError.operandModelIdRequired(property:)An attempt was made to attach, detach, or check attachment to a siblings property of a model whose ID is not currently known (usually because that model has not yet been saved to the database).SiblingsPropertyError.owningModelIdRequired(property:)An attempt was made to query, attach to, or detach from a siblings property whose owning model’s ID is not currently known (usually because that model has not yet been saved to the database).
Instance Properties
debugDescriptionA textual representation of this instance, suitable for debugging.descriptionA textual representation of this instance.errorDescriptionA localized message describing what error occurred.failureReasonA localized message describing the reason for the failure.
Relationships
Conforms To
Foundation.LocalizedErrorSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.ErrorSwift.SendableSwift.SendableMetatype