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
case operandModelIdRequired(property: String)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).case owningModelIdRequired(property: String)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
var debugDescription: StringA textual representation of this instance, suitable for debugging.var description: StringA textual representation of this instance.var errorDescription: String?A localized message describing what error occurred.var failureReason: String?A localized message describing the reason for the failure.
Relationships
Conforms To
FoundationEssentials.LocalizedErrorSwift.CustomDebugStringConvertibleSwift.CustomStringConvertibleSwift.ErrorSwift.SendableSwift.SendableMetatype