DCNSAbstractError Class Reference

Inherits from NSObject
Declared in DCNSAbstractError.h

Overview

DCNSAbstractError encapuslates data about an error to be passed into the global error handler block. This includes the method name and class it occured in, along with any other pertinent information.

Future updates will see subclasses of this class given to the error handler instead, which will be specific to error types; i.e. timeouts, encoding issues etc.

Datums

  name

The name of the error; analagous to the name of an exception.

@property (nonatomic, readonly) NSString *name

Declared In

DCNSAbstractError.h

  reason

The reason why the error occured.

@property (nonatomic, readonly) NSString *reason

Declared In

DCNSAbstractError.h

  callStackSymbols

The methods called leading up to the error occuring.

@property (nonatomic, readonly) NSArray *callStackSymbols

Declared In

DCNSAbstractError.h

  calleeMethod

The method where the call to a remote method occurred.

@property (nonatomic, readonly) NSString *calleeMethod

Declared In

DCNSAbstractError.h

  calleeClass

The class where the call to a remote method occurred.

@property (nonatomic, readonly) NSString *calleeClass

Declared In

DCNSAbstractError.h

  userInfo

Any additional user information associated with the error.

@property (nonatomic, readonly) NSDictionary *userInfo

Declared In

DCNSAbstractError.h