13 #import <Foundation/Foundation.h> 14 #import "HIVEResultAPIEnum.h" 27 @property (nonatomic, getter=getErrorCode) HIVEResultAPIType errorCode;
28 @property (nonatomic, getter=getCode) HIVEResultAPICode code;
29 @property (strong, nonatomic, getter=getErrorMessage) NSString *errorMessage;
30 @property (strong, nonatomic, getter=getMessage) NSString *message;
31 @property (strong, nonatomic) NSString *reason;
32 @property (nonatomic, getter=getLatencyMS) NSInteger latencyMS;
34 + (instancetype)success;
35 + (instancetype)errorCode:(HIVEResultAPIType)errorCode code:(HIVEResultAPICode)code;
36 + (instancetype)errorCode:(HIVEResultAPIType)errorCode code:(HIVEResultAPICode)code reason:(NSString *)reason;
38 - (NSString*)description;
Definition: HIVEResultAPI.h:25