3 declare(strict_types=1);
5 namespace CuyZ\Valinor\Mapper\Tree\Exception;
7 use CuyZ\Valinor\Definition\FunctionDefinition;
8 use CuyZ\Valinor\Type\ClassType;
12 final class CannotInferFinalClass extends RuntimeException
14 public function __construct(ClassType $class, FunctionDefinition $function)
17 "Cannot infer final class `{$class->className()}` with function `{$function->signature()}`.",