Files
kupshop/bundles/External/PompoBundle/Exception/PompoApiException.php
2025-08-02 16:30:27 +02:00

23 lines
517 B
PHP

<?php
declare(strict_types=1);
namespace External\PompoBundle\Exception;
class PompoApiException extends PompoException
{
private int $responseCode;
public function __construct(string $message = '', int $responseCode = 200, array $data = [], $code = 0, ?\Throwable $previous = null)
{
parent::__construct($message, null, $data, $code, $previous);
$this->responseCode = $responseCode;
}
public function getResponseCode(): int
{
return $this->responseCode;
}
}