packages/sql-fixture/src/Plan/Exception/MissingEndpointColumnsException.php
1<?php
2
3declare(strict_types=1);
4
5namespace SqlFixture\Plan\Exception;
6
7use SqlFixture\Plan\PlanSyntaxException;
8
9/**
10 * A relation endpoint names no columns.
11 */
12final class MissingEndpointColumnsException extends PlanSyntaxException
13{
14 /**
15 * A relation endpoint names no columns.
16 */
17 public function __construct(
18 public readonly string $table,
19 ) {
20 parent::__construct(sprintf('The endpoint for table %s names no columns.', $table));
21 }
22}
23