diff --git a/src/Exceptions/MatrixException.php b/src/Exceptions/MatrixException.php new file mode 100644 index 0000000..b449ccd --- /dev/null +++ b/src/Exceptions/MatrixException.php @@ -0,0 +1,10 @@ +httpCode = $code; + $this->content = $content; + } + + /** + * @return int + */ + public function getHttpCode(): int { + return $this->httpCode; + } + + /** + * @return string + */ + public function getContent(): string { + return $this->content; + } +} \ No newline at end of file diff --git a/src/Exceptions/MatrixUnexpectedResponse.php b/src/Exceptions/MatrixUnexpectedResponse.php new file mode 100644 index 0000000..4d80592 --- /dev/null +++ b/src/Exceptions/MatrixUnexpectedResponse.php @@ -0,0 +1,25 @@ +content = $content; + } + + /** + * @return string + */ + public function getContent(): string { + return $this->content; + } +} \ No newline at end of file