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).

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

Properties

errorMessage

@property (nonatomic, copy) NSString *errorMessage
Discussion

The error message to be presented to the user.

Declared In

RKErrorMessage.h

userInfo

@property (nonatomic, copy) NSDictionary *userInfo
Discussion

A dictionary of application specific information that accompanies the error message.

Declared In

RKErrorMessage.h