26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
OF_ASSUME_NONNULL_BEGIN
@interface MTXLoginFailedException: OFException
@property (readonly, nonatomic) OFString *user;
@property (readonly, nonatomic) OFURL *homeserver;
@property (readonly, nonatomic) int statusCode;
@property (readonly, nonatomic) mtx_response_t response;
+ (instancetype)exceptionWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
statusCode: (int)statusCode
response: (mtx_response_t)response;
- (instancetype)initWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
statusCode: (int)statusCode
response: (mtx_response_t)response;
@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
@interface MTXLoginFailedException: OFException
@property (readonly, nonatomic) OFString *user;
@property (readonly, nonatomic) OFURL *homeserver;
@property (readonly, nonatomic) int statusCode;
@property (readonly, nonatomic) MTXResponse response;
+ (instancetype)exceptionWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
statusCode: (int)statusCode
response: (MTXResponse)response;
- (instancetype)initWithUser: (OFString *)user
homeserver: (OFURL *)homeserver
statusCode: (int)statusCode
response: (MTXResponse)response;
@end
OF_ASSUME_NONNULL_END
|