PlanetKitNSErrorCode

@objc
@frozen
public enum PlanetKitNSErrorCode : Int

An enumeration representing the error codes for PlanetKit.

  • No error occurred.

    Declaration

    Swift

    case noError = 0
  • The target peer or requested user does not exist in the subgroup.

    Declaration

    Swift

    case peerGetFailReasonNotInSubgroup = 2001
  • The target peer has already disconnected from the main room.

    Declaration

    Swift

    case peerGetFailReasonDisconnected = 2002
  • The capture devices are unavailable.

    Declaration

    Swift

    case noCaptureDevice = 5001
  • An undefined error occurred.

    Declaration

    Swift

    case unknown = 9999