Declared in NSError+GBError.h
NSError+GBError.m

Overview

Adds helper methods to NSError for more organized code.

Tasks

Other Methods

Other Methods

Class Methods

errorWithCode:description:reason:

Creates a new NSError with appledoc domain and given information.

+ (NSError *)errorWithCode:(NSInteger)code description:(NSString *)description reason:(NSString *)reason

Parameters

code
Error code.
description
Error localized description.
reason
Error localized failure reason.

Return Value

Returns autoreleased NSError with the given data.

Declared In

NSError+GBError.h