eBay::API::XML::DataType::ErrorType(3)

NAME
eBay::API::XML::DataType::ErrorType

DESCRIPTION
These are request errors (as opposed to system errors) that occur due to problems with business-level data (e.g., an invalid combination of arguments) that the application passed in.

SYNOPSIS

INHERITANCE
eBay::API::XML::DataType::ErrorType inherits from the eBay::API::XML::BaseDataType class

Subroutines:

  setErrorClassification()
API errors are divided between two classes: system errors and request errors.

# Argument: 'ns:ErrorClassificationCodeType'

  getErrorClassification()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: 'ns:ErrorClassificationCodeType'

  setErrorCode()
A unique code that identifies the particular error condition that occurred. Your application can use error codes as identifiers in your customized error-handling algorithms.

# Argument: 'xs:token'

  getErrorCode()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: 'xs:token'

  setErrorParameters()
This optional element carries a list of context-specific error variables that indicate details about the error condition. These are useful when multiple instances of ErrorType are returned.

# Argument: reference to an array
                      of 'ns:ErrorParameterType'

  getErrorParameters()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: reference to an array
                      of 'ns:ErrorParameterType'

  setLongMessage()
A more detailed description of the condition that raised the error.

# Argument: 'xs:string'

  getLongMessage()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: 'xs:string'

  setSeverityCode()
Indicates whether the error is a severe error (causing the request to fail) or an informational error (a warning) that should be communicated to the user.

# Argument: 'ns:SeverityCodeType'

  getSeverityCode()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: 'ns:SeverityCodeType'

  setShortMessage()
A brief description of the condition that raised the error.

# Argument: 'xs:string'

  getShortMessage()
  Calls:   Returned: Conditionally
  AllCalls:

# Returns: 'xs:string'

  setUserDisplayHint()
Indicates whether the error message text is intended to be displayed to an end user or intended only to be parsed by the application. If true or not present (the default), the message text is intended for the end user. If false, the message text is intended for the application, and the application should translate the error into a more appropriate message. Only applicable to Item Specifics errors and warnings returned from listing requests.

# Argument: 'xs:boolean'

  isUserDisplayHint()
  Calls: AddItem
         AddLiveAuctionItem
         RelistItem
         ReviseItem
         ReviseLiveAuctionItem
         VerifyAddItem
  Returned: Conditionally

# Returns: 'xs:boolean'