for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace ReadModel\Filters\DataTransformer;
use ReadModel\InvalidArgumentException;
class InvalidValueException extends InvalidArgumentException
{
public function __construct(string $filterName, $value)
$message = sprintf("Invalid value '%s' for %s filter", $value, $filterName);
parent::__construct($message);
}