PropertyError

public enum PropertyError : Error

Specifies an error that occurred during a property read or write.

  • The value the property was set to is illegal.

    Note

    In practice, applications often simply ignore illegal values instead of returning this error.

    Declaration

    Swift

    case illegalValue
  • The application did not respond to our request quickly enough.

    Declaration

    Swift

    case timeout(time: TimeInterval)
  • The value of the (required) property is missing from the object on the OS.

    Declaration

    Swift

    case missingValue
  • The underlying object for the property has become invalid (e.g. the window has been destroyed). This is considered a permanent failure.

    Declaration

    Swift

    case invalidObject(cause: Error)
  • Some other, hopefully temporary, failure.

    Declaration

    Swift

    case failure(cause: Error)