1
0
mirror of https://github.com/OpenXE-org/OpenXE.git synced 2025-01-18 01:31:14 +01:00
2021-05-21 08:49:41 +02:00

15 lines
378 B
PHP

<?php
namespace Xentral\Modules\AmazonVendorDF\Exception;
use Psr\Http\Message\ResponseInterface;
use RuntimeException;
class IssueTokenException extends RuntimeException
{
public static function fromResponse(?ResponseInterface $response = null): self
{
return new self($response ? 'exception with response info' : 'exception without response info');
}
}