22 lines
463 B
PHP
22 lines
463 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace KupShop\IncomakerBundle\Exceptions;
|
|
|
|
use KupShop\KupShopBundle\Util\Logging\CustomDataExceptionInterface;
|
|
|
|
class IncomakerSynchronizationException extends \Exception implements CustomDataExceptionInterface
|
|
{
|
|
public function __construct(
|
|
$message, protected array $data = [],
|
|
) {
|
|
parent::__construct($message);
|
|
}
|
|
|
|
public function getData(): array
|
|
{
|
|
return $this->data;
|
|
}
|
|
}
|