Skip to content

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

Relationships

Conforms To

  • FoundationEssentials.LocalizedError
  • Swift.CustomDebugStringConvertible
  • Swift.CustomStringConvertible
  • Swift.Error
  • Swift.Sendable
  • Swift.SendableMetatype