26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
OF_ASSUME_NONNULL_BEGIN
@class MTXClient;
@interface MTXClientException: OFException
@property (readonly, nonatomic) int statusCode;
@property (readonly, nonatomic) mtx_response_t response;
@property (readonly, nonatomic) MTXClient *client;
+ (instancetype)exceptionWithStatusCode: (int)statusCode
response: (mtx_response_t)response
client: (MTXClient *)client;
- (instancetype)initWithStatusCode: (int)statusCode
response: (mtx_response_t)respons
client: (MTXClient *)client
OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
OF_ASSUME_NONNULL_BEGIN
@class MTXClient;
@interface MTXClientException: OFException
@property (readonly, nonatomic) int statusCode;
@property (readonly, nonatomic) MTXResponse response;
@property (readonly, nonatomic) MTXClient *client;
+ (instancetype)exceptionWithStatusCode: (int)statusCode
response: (MTXResponse)response
client: (MTXClient *)client;
- (instancetype)initWithStatusCode: (int)statusCode
response: (MTXResponse)respons
client: (MTXClient *)client
OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|