VLDAPIErrorCode

Objective-C

enum VLDAPIErrorCode {}

Swift

enum VLDAPIErrorCode : UInt

Possible error codes that can be returned to the response block

  • Indicates some of the records in a postMultipleRecords:completion: call were invalid, the userInfo dictionary in the error will contain the invalid records in the errorRecords key. It is possible for some of the records to successfully post and still receive this error.

    Declaration

    Objective-C

    VLDAPIErrorCodeInvalidRecords

    Swift

    case invalidRecords = 0
  • Indicates that the recordType for the record was invalid.

    Declaration

    Objective-C

    VLDAPIErrorCodeInvalidRecordType

    Swift

    case invalidRecordType = 1
  • Indicates that the recordID of a record was missing when attempting to update the record.

    Declaration

    Objective-C

    VLDAPIErrorCodeMissingRecordID

    Swift

    case missingRecordID = 2
  • Indicates that the activityID of a record was missing when attempting to upsert the record.

    Declaration

    Objective-C

    VLDAPIErrorCodeMissingActivityID

    Swift

    case missingActivityID = 3
  • Indicates an attempt to call an API method with a nil record.

    Declaration

    Objective-C

    VLDAPIErrorCodeMissingRecord

    Swift

    case missingRecord = 4
  • Indicates that the records given to postMultipleRecords:completion: were not all of the same recordType.

    Declaration

    Objective-C

    VLDAPIErrorCodeMismatchedRecordTypes

    Swift

    case mismatchedRecordTypes = 5