for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Canylmz\Rating\Exceptions;
use InvalidArgumentException;
class RatingAlreadyExists extends InvalidArgumentException
{
public static function create(string $className)
return new static('The given model class `'.$className.'` has already been rated.');
}