25 lines
484 B
PHP
25 lines
484 B
PHP
<?php
|
|
|
|
namespace Aryess\PhpMatrixSdk\Exceptions;
|
|
|
|
/**
|
|
* The home server gave an unexpected response.
|
|
*
|
|
* @package Aryess\PhpMatrixSdk\Exceptions
|
|
*/
|
|
class MatrixUnexpectedResponse extends MatrixException {
|
|
|
|
protected $content;
|
|
|
|
function __construct(string $content = '') {
|
|
parent::__construct($content);
|
|
$this->content = $content;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContent(): string {
|
|
return $this->content;
|
|
}
|
|
} |