for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\ModelStatus\Exceptions;
use Exception;
class InvalidStatus extends Exception
{
public static function create(string $name): self
return new self("The status `{$name}` is an invalid status.");
}