ObjMatrix  Diff

Differences From Artifact [c3b16f062e]:

To Artifact [b5d9144c08]:


18
19
20
21
22
23
24
25

26
27
28
29
30
31

32
33
34
35
36
37
38
39
40
41
42
43
44
18
19
20
21
22
23
24

25
26
27
28



29










30
31
32







-
+



-
-
-
+
-
-
-
-
-
-
-
-
-
-



 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#import <ObjFW/ObjFW.h>

#import "MTXRequest.h"
#import "MTXClientException.h"

OF_ASSUME_NONNULL_BEGIN

@class MTXClient;

@interface MTXLogoutFailedException: OFException
@interface MTXLogoutFailedException: MTXClientException
@property (readonly, nonatomic) MTXClient *client;
@property (readonly, nonatomic) int statusCode;
@property (readonly, nonatomic) mtx_response_t response;

+ (instancetype)exceptionWithClient: (MTXClient *)client
			 statusCode: (int)statusCode
			   response: (mtx_response_t)response;
- (instancetype)initWithClient: (OFString *)user
		    statusCode: (int)statusCode
		      response: (mtx_response_t)response;
@end

OF_ASSUME_NONNULL_END