#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
@class SECC2MPError;
#ifdef __cplusplus
#define SECC2MPERROR_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define SECC2MPERROR_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface SECC2MPError : PBCodable <NSCopying>
{
int64_t _errorCode;
NSString *_errorDescription;
NSString *_errorDomain;
SECC2MPError *_underlyingError;
struct {
int errorCode:1;
} _has;
}
@property (nonatomic, readonly) BOOL hasErrorDomain;
@property (nonatomic, retain) NSString *errorDomain;
@property (nonatomic) BOOL hasErrorCode;
@property (nonatomic) int64_t errorCode;
@property (nonatomic, readonly) BOOL hasErrorDescription;
@property (nonatomic, retain) NSString *errorDescription;
@property (nonatomic, readonly) BOOL hasUnderlyingError;
@property (nonatomic, retain) SECC2MPError *underlyingError;
- (void)copyTo:(SECC2MPError *)other;
- (void)mergeFrom:(SECC2MPError *)other;
SECC2MPERROR_FUNCTION BOOL SECC2MPErrorReadFrom(__unsafe_unretained SECC2MPError *self, __unsafe_unretained PBDataReader *reader);
@end