PayloadValidationError

public enum PayloadValidationError: Error

Defines the possible payload validation errors.

  • Validation for an item not recognized or provided by the Payloadable object.

    Declaration

    Swift

    case unrecognizedItemId(description: String)
  • Validation failed as item is required but it’s either nil or empty.

    Declaration

    Swift

    case itemRequired(description: String)
  • This value is not valid, or is in an incorrect format.

    Declaration

    Swift

    case invalidValue(description: String)