Mobile API Reference  MicroStrategy 2019
ErrorDetails.h
Go to the documentation of this file.
1 //
2 // ErrorDetails.h
3 // MSTR Foundation
4 //
5 // Created by Amirali Charania on 2/20/09.
6 // Copyright 2009 MicroStrategy. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 
11 @class MSIProjectInfo;
12 
13 #define REPORT_NOT_FOUND -1
14 #define ERROR_NOT_CACHED -2
15 #define ERROR_CODE_INBOX_FAILURE 22 // TBD: fix to correct error code
16 
17 #define ERROR_DETAILS_KEY @"errorDetails"
18 
22 @interface ErrorDetails : NSObject {
24  NSString* src;
25  NSInteger statusCode;
26  NSInteger errorCode;
27  NSString* errorMsg;
28 }
29 
33 @property (nonatomic, copy) NSString* src;
34 
38 @property NSInteger statusCode;
39 
43 @property NSInteger errorCode;
44 
48 @property (nonatomic, copy) NSString* errorMsg;
49 
53 @property (nonatomic, strong) MSIProjectInfo* project;
54 
60 -(id)init;
61 
67 -(NSString*)log;
68 
69 @end
MSIProjectInfo * project
Definition: ErrorDetails.h:23
Definition: ErrorDetails.h:22
NSString * src
Definition: ErrorDetails.h:24
NSString * errorMsg
Definition: ErrorDetails.h:27
NSInteger errorCode
Definition: ErrorDetails.h:26
Definition: MSIProjectInfo.h:17
NSInteger statusCode
Definition: ErrorDetails.h:25