18 lines
330 B
PHP
18 lines
330 B
PHP
<?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)
|
|
);
|
|
}
|
|
}
|