Commit a714c401 authored by Sergio Campama's avatar Sergio Campama

Removing unused GPBExceptionMessageKey

https://github.com/google/protobuf/issues/1618
parent 86e8f1fd
...@@ -55,13 +55,6 @@ typedef NS_ENUM(NSInteger, GPBMessageErrorCode) { ...@@ -55,13 +55,6 @@ typedef NS_ENUM(NSInteger, GPBMessageErrorCode) {
GPBMessageErrorCodeMissingRequiredField = -101, GPBMessageErrorCodeMissingRequiredField = -101,
}; };
#ifdef DEBUG
/// In DEBUG ONLY, an NSException is thrown when a parsed message doesn't
/// contain required fields. This key allows you to retrieve the parsed message
/// from the exception's @c userInfo dictionary.
extern NSString *const GPBExceptionMessageKey;
#endif // DEBUG
CF_EXTERN_C_END CF_EXTERN_C_END
/// Base class for all of the generated message classes. /// Base class for all of the generated message classes.
......
...@@ -53,11 +53,6 @@ ...@@ -53,11 +53,6 @@
NSString *const GPBMessageErrorDomain = NSString *const GPBMessageErrorDomain =
GPBNSStringifySymbol(GPBMessageErrorDomain); GPBNSStringifySymbol(GPBMessageErrorDomain);
#ifdef DEBUG
NSString *const GPBExceptionMessageKey =
GPBNSStringifySymbol(GPBExceptionMessage);
#endif // DEBUG
static NSString *const kGPBDataCoderKey = @"GPBData"; static NSString *const kGPBDataCoderKey = @"GPBData";
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment