for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Iris\Exceptions;
class ParameterNotFound extends \InvalidArgumentException
{
/**
* @param string $parameterName
* @param string $methodName
* @param Exception $previous
*/
public function __construct($parameterName, $methodName, $previous = null)
$message = sprintf('Argument %s not found for %s', $parameterName, $methodName);
parent::__construct($message, 405, $previous);
}