for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Eclipxe\Enum\Exceptions;
use Throwable;
class IndexOverrideException extends GenericOverrideException
{
public static function create(string $className, string $value, Throwable $previous = null): self
// StatusEnum cannot override index to x
return new self(static::formatGenericMessage($className, 'index', $value), 0, $previous);
}