ZDCCloudErrorCode

enum ZDCCloudErrorCode {}

All errors returned from ZDCCloudTransaction will use an error code defined in this enumeration.

  • One of the parameters was invalid. The error description will tell you which parameter, and why it was invalid.

    Declaration

    Objective-C

    ZDCCloudErrorCode_InvalidParameter = 1000

    Swift

    case invalidParameter = 1000
  • If you attempt to create a node from a path, all parents leading up to the last path component must already exist in the treesystem.

    Declaration

    Objective-C

    ZDCCloudErrorCode_MissingParent

    Swift

    case missingParent = 1001
  • If you attempt to send a message to a user, the receiving user must exist in the database.

    (You can use the ZDCUserManager to create the user if needed.)

    Declaration

    Objective-C

    ZDCCloudErrorCode_MissingReceiver

    Swift

    case missingReceiver = 1002
  • A conflict occurred. For example, you attempted to create a node at /foo/bar, but there’s already a node at that path.

    Declaration

    Objective-C

    ZDCCloudErrorCode_Conflict

    Swift

    case conflict = 1003