3 declare(strict_types=1);
5 namespace CuyZ\Valinor\Definition\Exception;
7 use CuyZ\Valinor\Type\Type;
8 use CuyZ\Valinor\Type\ClassType;
12 final class InvalidTypeAliasImportClassType extends LogicException
14 public function __construct(ClassType $classType, Type $type)
17 "Importing a type alias can only be done with classes, `{$type->toString()}` was given in class `{$classType->className()}`.",