27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
OF_ASSUME_NONNULL_BEGIN
@interface MTXSendMessageFailedException: MTXClientException
@property (readonly, nonatomic) OFString *message;
@property (readonly, nonatomic) OFString *roomID;
+ (instancetype)exceptionWithStatusCode: (int)statusCode
response: (mtx_response_t)response
client: (MTXClient *)client OF_UNAVAILABLE;
+ (instancetype)exceptionWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (mtx_response_t)response
client: (MTXClient *)client;
- (instancetype)initWithStatusCode: (int)statusCode
response: (mtx_response_t)response
client: (MTXClient *)client OF_UNAVAILABLE;
- (instancetype)initWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (mtx_response_t)response
client: (MTXClient *)client OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|
|
|
|
|
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
OF_ASSUME_NONNULL_BEGIN
@interface MTXSendMessageFailedException: MTXClientException
@property (readonly, nonatomic) OFString *message;
@property (readonly, nonatomic) OFString *roomID;
+ (instancetype)exceptionWithStatusCode: (int)statusCode
response: (MTXResponse)response
client: (MTXClient *)client OF_UNAVAILABLE;
+ (instancetype)exceptionWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (MTXResponse)response
client: (MTXClient *)client;
- (instancetype)initWithStatusCode: (int)statusCode
response: (MTXResponse)response
client: (MTXClient *)client OF_UNAVAILABLE;
- (instancetype)initWithMessage: (OFString *)message
roomID: (OFString *)roomID
statusCode: (int)statusCode
response: (MTXResponse)response
client: (MTXClient *)client OF_DESIGNATED_INITIALIZER;
@end
OF_ASSUME_NONNULL_END
|