for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yarak\Exceptions;
use Exception;
class InvalidInput extends Exception
{
/**
* The given command is invalid.
*
* @param string $command
* @return static
*/
public static function invalidCommand($command)
return new static("The command {$command} does not exist.");
}