Elgg  Version master
CsrfException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Exceptions\Http;
4 
6 
13 
17  public function __construct(string $message = "", int $code = 0, \Throwable $previous = null) {
18  if (!$code) {
20  }
21  parent::__construct($message, $code, $previous);
22  }
23 }
const ELGG_HTTP_FORBIDDEN
Definition: constants.php:72
__construct(string $message="", int $code=0,\Throwable $previous=null)
{}
Thrown when CSRF tokens mismatch.
Generic HTTP exception.