Trading_ErrorType Class Reference
| Inherits from | NSObject |
| Conforms to | PicoBindable |
| Declared in | Trading_ErrorType.h Trading_ErrorType.m |
Overview
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.
@ingroup EBayAPIInterface
Tasks
-
shortMessageA brief description of the condition that raised the error.
property -
longMessageA more detailed description of the condition that raised the error.
property -
errorCodeA unique code that identifies the particular error condition that occurred.
property
Your application can use error codes as identifiers
in your customized error-handling algorithms. See the “Errors by Number” document. -
userDisplayHintIndicates whether the error message text is intended to be displayed to an end user
property
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. -
severityCodeIndicates whether the error is a severe error (causing the request to fail)
property
or an informational error (a warning) that should be communicated to the user. -
errorParametersThis optional element carries a list of context-specific
property
error variables that indicate details about the error condition.
These are useful when multiple instances of ErrorType are returned. -
errorClassificationAPI errors are divided between two classes: system errors and request errors.
property -
any(public property)
property
Properties
any
(public property)
@property (nonatomic, retain) NSMutableArray *anyDiscussion
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
Declared In
Trading_ErrorType.herrorClassification
API errors are divided between two classes: system errors and request errors.
@property (nonatomic, retain) NSString *errorClassificationDiscussion
API errors are divided between two classes: system errors and request errors.
type: string constant in Trading_ErrorClassificationCodeType.h
Declared In
Trading_ErrorType.herrorCode
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. See the “Errors by Number” document.
@property (nonatomic, retain) NSString *errorCodeDiscussion
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. See the “Errors by Number” document.
type : NSString, wrapper for primitive string
Declared In
Trading_ErrorType.herrorParameters
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.
@property (nonatomic, retain) NSMutableArray *errorParametersDiscussion
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.
entry type : class Trading_ErrorParameterType
Declared In
Trading_ErrorType.hlongMessage
A more detailed description of the condition that raised the error.
@property (nonatomic, retain) NSString *longMessageDiscussion
A more detailed description of the condition that raised the error.
type : NSString, wrapper for primitive string
Declared In
Trading_ErrorType.hseverityCode
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.
@property (nonatomic, retain) NSString *severityCodeDiscussion
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.
type: string constant in Trading_SeverityCodeType.h
Declared In
Trading_ErrorType.hshortMessage
A brief description of the condition that raised the error.
@property (nonatomic, retain) NSString *shortMessageDiscussion
A brief description of the condition that raised the error.
type : NSString, wrapper for primitive string
Declared In
Trading_ErrorType.huserDisplayHint
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.
@property (nonatomic, retain) NSNumber *userDisplayHintDiscussion
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.
type : NSNumber, wrapper for primitive bool
Declared In
Trading_ErrorType.h