mojang-api/src/Exception/NoContentException.php
ErickSkrauch 7211fbc190
Init
2019-04-01 16:04:08 +02:00

17 lines
462 B
PHP

<?php
declare(strict_types=1);
namespace Ely\Mojang\Exception;
use GuzzleHttp\Exception\RequestException;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
class NoContentException extends RequestException implements MojangApiException {
public function __construct(RequestInterface $request, ResponseInterface $response) {
parent::__construct('No data were received in the response.', $request, $response);
}
}