mirror of
https://github.com/elyby/mojang-api.git
synced 2025-05-31 14:11:44 +05:30
Init
This commit is contained in:
16
src/Exception/NoContentException.php
Normal file
16
src/Exception/NoContentException.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user