ldc-boutique-cnc-sable/app/Exceptions/Helpers/UnsupportedStructureConversionException.php
2026-10-27 09:58:12 +01:00

13 lines
289 B
PHP

<?php
declare(strict_types=1);
namespace App\Exceptions\Helpers;
class UnsupportedStructureConversionException extends \RuntimeException
{
public static function fromType(mixed $input): self
{
return new self('Cannot handle $input of type ' . \gettype($input));
}
}