for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Permission\Exceptions;
use InvalidArgumentException;
class RoleDoesNotExist extends InvalidArgumentException
{
public static function create(string $roleName)
return new static("There is no role named `{$roleName}`.");
}