for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Sluggable;
use Exception;
class InvalidOption extends Exception
{
public static function missingFromField()
return new static('Could not determine which fields should be sluggified');
}
public static function missingSlugField()
return new static('Could not determine in which field the slug should be saved');
public static function invalidMaximumLength()
return new static('Maximum length should be greater than zero');