ContainerException.php
3 months ago
FailedToSaveListScreen.php
3 months ago
HookTimingException.php
3 months ago
InvalidTableScreenException.php
3 months ago
RequestException.php
3 months ago
ValueNotFoundException.php
3 months ago
ContainerException.php
18 lines
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace AC\Exception; |
| 6 | |
| 7 | use AC\Vendor\Psr\Container\ContainerExceptionInterface; |
| 8 | use LogicException; |
| 9 | |
| 10 | final class ContainerException extends LogicException implements ContainerExceptionInterface |
| 11 | { |
| 12 | |
| 13 | public static function from_locked(): self |
| 14 | { |
| 15 | return new self('Container cannot be modified after it has been built.'); |
| 16 | } |
| 17 | |
| 18 | } |