for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Recurrence\Model\Exception;
class InvalidRruleException extends \InvalidArgumentException
{
public function __construct(string $rRuleName, string $value = null)
$message = sprintf('Invalid RRULE [%s] option : [%s]', $rRuleName, $value);
parent::__construct($message, 400);
}