Elgg  Version 5.1
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 
22  parent::__construct($message, $code, $previous);
23  }
24 }
const ELGG_HTTP_FORBIDDEN
Definition: constants.php:67
__construct(string $message= '', int $code=0,\Throwable $previous=null)
{}
Thrown when CSRF tokens mismatch.
Generic HTTP exception.