matrix-php-sdk/src/Exceptions/MatrixUnexpectedResponse.php
2022-06-23 21:20:33 +10:00

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;
}
}