Comus Party 1.0.0
Application web de mini-jeux en ligne
Chargement...
Recherche...
Aucune correspondance
NotFoundException.php
Aller à la documentation de ce fichier.
1<?php
9
10namespace ComusParty\App\Exceptions;
11
12use Exception;
13use Throwable;
14
19class NotFoundException extends Exception
20{
21 public function __construct(string $message = "", int $code = 404, ?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(string $message="", int $code=404, ?Throwable $previous=null)