22 #import <Foundation/Foundation.h>
27 #pragma mark Class Constants
37 #define SCExceptionClass @"SCException"
40 #pragma mark Error Codes and IDs
50 #define SCExceptionCode -20000
56 #define SCExceptionEID @"SCL-2000"
77 #pragma mark Instance Properties
87 @property (nonatomic, readonly, assign)
SCInteger code;
93 @property (nonatomic, readonly, retain) NSString *eid;
98 #pragma mark Initializing Class Instances
99 - (instancetype)initWithName:(NSString *)name reason:(NSString *)reason code:(
SCInteger)code eid:(NSString *)eid;
100 - (instancetype)initWithException:(
SCException *)exception;
Заголовочный файл категории NSException(SCException)
int32_t SCInteger
Definition: SCTypes.h:149
Общий предок всех классов исключительных ситуаций библиотеки
Definition: SCException.h:72
Заголовочный файл неклассовых типов данных