6175086ea6da8693cdd1ff080dd3f27417499526
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 declare(strict_types=1);
4
5 namespace CuyZ\Valinor\Definition\Exception;
6
7 use CuyZ\Valinor\Type\ClassType;
8 use LogicException;
9
10 /** @internal */
11 final class InvalidTypeAliasImportClass extends LogicException
12 {
13 public function __construct(ClassType $type, string $className)
14 {
15 parent::__construct(
16 "Cannot import a type alias from unknown class `$className` in class `{$type->className()}`.",
17 1638535486
18 );
19 }
20 }