for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* balloon
*
* @copyright Copryright (c) 2012-2018 gyselroth GmbH (https://gyselroth.com)
* @license GPL-3.0 https://opensource.org/licenses/GPL-3.0
*/
namespace Balloon\Server\Group\Exception;
use Micro\Http\ExceptionInterface;
class InvalidArgument extends \InvalidArgumentException implements ExceptionInterface
{
const INVALID_NAME = 1;
const INVALID_NAMESPACE = 2;
const INVALID_MEMBER = 3;
const INVALID_OPTIONAL = 4;
const INVALID_ATTRIBUTE = 5;
* {@inheritdoc}
public function getStatusCode(): int
return 422;
}