for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Signifly\Translator\Exceptions;
use Exception;
use Signifly\Translator\Models\Translation;
class InvalidConfiguration extends Exception
{
public static function modelIsNotValid(string $className)
return new static("The given model class `$className` does not extend `".Translation::class.'`');
}