1<?php
2
3namespace MatrixPhp\Exceptions;
4
5/**
6 * The home server gave an unexpected response.
7 *
8 * @package MatrixPhp\Exceptions
9 */
10class MatrixUnexpectedResponse extends MatrixException {
11
12    protected $content;
13
14    function __construct(string $content = '') {
15        parent::__construct($content);
16        $this->content = $content;
17    }
18
19    /**
20     * @return string
21     */
22    public function getContent(): string {
23        return $this->content;
24    }
25}
26