Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user