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