Files
max-bot-api-client-php/src/Exceptions/MethodNotAllowedException.php
T
2025-07-11 20:33:26 +03:00

21 lines
456 B
PHP

<?php
declare(strict_types=1);
namespace BushlanovDev\MaxMessengerBot\Exceptions;
use Psr\Http\Message\ResponseInterface;
use Throwable;
class MethodNotAllowedException extends ClientApiException
{
public function __construct(
string $message,
string $errorCode,
?ResponseInterface $response,
?Throwable $previous = null,
) {
parent::__construct($message, $errorCode, $response, 405, $previous);
}
}