mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-27 05:07:04 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace BushlanovDev\MaxMessengerBot\Exceptions;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Throwable;
|
||||
|
||||
class NotFoundException extends ClientApiException
|
||||
{
|
||||
public function __construct(
|
||||
string $message,
|
||||
string $errorCode,
|
||||
?ResponseInterface $response,
|
||||
?Throwable $previous = null,
|
||||
) {
|
||||
parent::__construct($message, $errorCode, $response, 404, $previous);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user