Version 1.0.0
This commit is contained in:
17
src/Exception/InvalidRequest.php
Normal file
17
src/Exception/InvalidRequest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Diffhead\PHP\DataEnrichmentKit\Exception;
|
||||
|
||||
use RuntimeException;
|
||||
|
||||
class InvalidRequest extends RuntimeException
|
||||
{
|
||||
public function __construct(string $value)
|
||||
{
|
||||
return parent::__construct(
|
||||
sprintf('Invalid enrichment request: "%s".', $value)
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user