ODataError class

Stores the parsed data fields of OData error payloads.

Syntax

@interface ODataError : NSObject

Members

All members of ODataError, including inherited members.

Methods
Method Description
- (id) init  

Usage

Example error payload: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <message xml:lang="en-US">Resource not found for the segment 'Titles'.</message> </error> The stored values after parsing the example payload are: code = "" message = @"Resource not found for the segment 'Titles'." language = @"en-US"