for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Equip\Queue\Exception;
use Exception;
class CommandException extends Exception
{
/**
* @param string $name
*
* @return static
*/
public static function invalidCommand($name)
return new static(
sprintf('The command for `%s` is invalid.', $name)
);
}
public static function notFound($name)
sprintf('`%s` command not found.', $name)