/** * Throw an AclQueryException exception */ public function __construct($parameter) { $this->httpStatusCode = 500; $this->errorType = 'acl_query_error'; parent::__construct(trans('acl-manager-laravel::messages.acl_query_error')); }
/** * Throw an AclPolicyException exception */ public function __construct($parameter) { $this->httpStatusCode = 401; $this->errorType = 'acl_invalid_policy'; parent::__construct(trans('acl-manager-laravel::messages.acl_invalid_policy')); }
function __construct($msg, $code = 0, $previous = NULL) { parent::__construct($msg, $code, $previous); }
/** * Throw an AclServerErrorException exception */ public function __construct($parameter) { $this->httpStatusCode = 500; $this->errorType = 'acl_server_error'; parent::__construct($parameter); }