mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-01 22:42:51 +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
17 lines
563 B
Objective-C
17 lines
563 B
Objective-C
//
|
|
// RKObjectMapperError.h
|
|
// RestKit
|
|
//
|
|
// Created by Blake Watters on 5/31/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import "../Support/Errors.h"
|
|
|
|
typedef enum RKObjectMapperErrors {
|
|
RKObjectMapperErrorObjectMappingNotFound, // No mapping found
|
|
RKObjectMapperErrorObjectMappingTypeMismatch, // Target class and object mapping are in disagreement
|
|
RKObjectMapperErrorUnmappableContent, // No mappable attributes or relationships were found
|
|
RKObjectMapperErrorFromMappingResult
|
|
} RKObjectMapperErrorCode;
|