Comus Party 1.0.0
Application web de mini-jeux en ligne
Chargement...
Recherche...
Aucune correspondance
UnauthorizedAccessException.php
Aller à la documentation de ce fichier.
1<?php
9
10namespace ComusParty\App\Exceptions;
11
12use Exception;
13use Throwable;
14
19class UnauthorizedAccessException extends Exception
20{
21 public function __construct($message, $code = 403, Throwable $previous = null)
22 {
23 parent::__construct($message, $code, $previous);
24 }
25
26 public function __toString()
27 {
28 return __CLASS__ . ": [$this->code]: $this->message\n";
29 }
30}
__construct($message, $code=403, Throwable $previous=null)