cbecad81dd8361751ddd4560cbafcaf6025f9195
[GitHub/WoltLab/WCF.git] /
1 <?php
2
3 declare(strict_types=1);
4
5 namespace CuyZ\Valinor\Mapper\Object\Exception;
6
7 use CuyZ\Valinor\Definition\ClassDefinition;
8 use RuntimeException;
9
10 /** @internal */
11 final class CannotInstantiateObject extends RuntimeException
12 {
13 public function __construct(ClassDefinition $class)
14 {
15 parent::__construct(
16 "No available constructor found for class `{$class->name()}`.",
17 1646916477
18 );
19 }
20 }