Elgg  Version 4.3
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:82
__construct(string $message="", int $code=0,\Throwable $previous=null)
{}
Thrown when CSRF tokens mismatch.
Generic HTTP exception.