RKErrorMessage Class Reference
Inherits from | NSObject |
Declared in | RKErrorMessage.h |
Overview
The RKErrorMessage
is a simple class used for representing error messages returned by a remote backend system with which the client application is communicating. Error messages are typically returned in a response body in the Client Error class (status code 4xx range).
Error Message Informal Protocol
The errorMessage
property method is the sole method of an informal protocol that must be adopted by objects wishing to represent error messages within RestKit. This protocol is by the RKErrorFromMappingResult
function when constructing NSError
messages from a mapped response body.
Tasks
Accessing Errror Information
-
errorMessage
The error message to be presented to the user.
property -
userInfo
A dictionary of application specific information that accompanies the error message.
property