3 declare(strict_types=1);
5 namespace CuyZ\Valinor\Normalizer\Exception;
7 use CuyZ\Valinor\Definition\FunctionDefinition;
8 use CuyZ\Valinor\Type\Type;
12 final class TransformerHasInvalidCallableParameter extends LogicException
14 public function __construct(FunctionDefinition $function, Type $parameterType)
17 "Transformer's second parameter must be a callable, `{$parameterType->toString()}` given for `{$function->signature()}`.",