mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-03 09:45:10 +08:00
* Removed RestKit from inheritance hierarchy * Mappings are implemented as concrete classes * Mapper is much more flexible & powerful * Much more robust error handling * Serialization is reimplemented as an object mapping operation * Added ability to serialize to JSON natively * Reworked Core Data integration * Simplified the codebase substantially
20 lines
462 B
C
20 lines
462 B
C
//
|
|
// Errors.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 3/25/10.
|
|
// Copyright 2010 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
// The error domain for RestKit generated errors
|
|
extern NSString* const RKRestKitErrorDomain;
|
|
|
|
extern NSString* const RKObjectMapperErrorObjectsKey;
|
|
|
|
typedef enum {
|
|
RKObjectLoaderRemoteSystemError = 1,
|
|
RKRequestBaseURLOfflineError,
|
|
RKRequestUnexpectedResponseError,
|
|
RKObjectLoaderUnexpectedResponseError
|
|
} RKRestKitError;
|