SubscriptionError

enum SubscriptionError
extension SubscriptionError : Equatable, Error, Hashable, Sendable

Errors that cause a subscription to fail.

  • The observed object no longer exists.

    Declaration

    Swift

    case objectDeleted
  • There was a failure in the underlying communication transport.

    Declaration

    Swift

    case transportFailed
  • Catch-all Error for cases not defined above, ex: user-logged-out.

    Declaration

    Swift

    case other