for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* RqlOperatorNotAllowedException class file
*/
namespace Graviton\ExceptionBundle\Exception;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
* RqlOperatorNotAllowed exception
*
* @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @link http://swisscom.ch
final class RqlOperatorNotAllowedException extends BadRequestHttpException implements RestExceptionInterface
{
use RestExceptionTrait;
* Constructor
* @param string $operator RQL operator
public function __construct($operator)
parent::__construct(sprintf('RQL operator "%s" is not allowed for this request', $operator));
}