Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

69 lines (60 sloc) 1.696 kb
//
// AppNetKit.h
// AppNetKit
//
// Created by Brent Royal-Gordon on 8/18/12.
// Copyright (c) 2012 Architechies. See README.md for licensing information.
//
#import <Foundation/Foundation.h>
#import "ANDefines.h"
extern NSString * const ANErrorDomain;
extern NSString * const ANExplanationURLKey;
// Used with password auth
extern NSString * const ANPasswordErrorTitleKey;
extern NSString * const ANPasswordErrorTextKey;
typedef enum {
ANGenericError,
ANOAuthInvalidRequestError,
ANOAuthUnauthorizedClientError,
ANOAuthAccessDeniedError,
ANOAuthUnsupportedResponseTypeError,
ANOAuthInvalidScopeError,
ANOAuthServerError,
ANOAuthTemporarilyUnavailableError,
ANBadRequestError = 400,
ANUnauthorizedError,
ANPaymentRequiredError,
ANForbiddenError,
ANNotFoundError,
ANMethodNotAllowedError,
ANNotAcceptableError,
ANProxyAuthenticationRequiredError,
ANRequestTimeoutError,
ANConflictError,
ANGoneError,
ANLengthRequiredError,
ANPreconditionFailedError,
ANRequestEntityTooLargeError,
ANRequestURITooLongError,
ANUnsupportedMediaTypeError,
ANRequestedRangeNotSatisfiableError,
ANExpectationFailedError,
ANInternalServerError = 500,
ANNotImplementedError,
ANBadGatewayError,
ANServiceUnavailableError,
ANGatewayTimeoutError,
ANHTTPVersionNotSupportedError
} ANErrorCode;
#import "NSString+AppNetExtensions.h"
#import "ANCompletions.h"
#import "ANAuthenticator.h"
#import "ANSession.h"
#import "ANUser.h"
#import "ANPost.h"
#import "ANFilter.h"
#import "ANAnnotation.h"
#import "ANEntity.h"
#import "ANSource.h"
#import "ANDraft.h"
#import "ANResponse.h"
Jump to Line
Something went wrong with that request. Please try again.