Generic HTTP exception.  
 More...
Generic HTTP exception. 
- Since
- 4.0 
Definition at line 10 of file HttpException.php.
◆ getParam()
      
        
          | Elgg\Exceptions\HttpException::getParam | ( |  | $name | ) |  | 
      
 
Get a parameter value. 
- Parameters
- 
  
    | string | $name | Parameter name |  
 
- Returns
- mixed|null 
Definition at line 46 of file HttpException.php.
 
 
◆ getParams()
      
        
          | Elgg\Exceptions\HttpException::getParams | ( |  | ) |  | 
      
 
 
◆ getRedirectUrl()
      
        
          | Elgg\Exceptions\HttpException::getRedirectUrl | ( |  | ) |  | 
      
 
 
◆ setParams()
      
        
          | Elgg\Exceptions\HttpException::setParams | ( | array | $params = [] | ) |  | 
      
 
Set params to provide context about the exception. 
- Parameters
- 
  
  
- Returns
- void 
Definition at line 29 of file HttpException.php.
 
 
◆ setRedirectUrl()
      
        
          | Elgg\Exceptions\HttpException::setRedirectUrl | ( |  | $url | ) |  | 
      
 
Set preferred redirect URL If set, a redirect response will be issued. 
- Parameters
- 
  
  
- Returns
- void 
Definition at line 57 of file HttpException.php.
 
 
◆ $params
  
  | 
        
          | Elgg\Exceptions\HttpException::$params = [] |  | protected | 
 
 
◆ $url
  
  | 
        
          | Elgg\Exceptions\HttpException::$url |  | protected | 
 
 
The documentation for this class was generated from the following file: