Comus Party
1.0.0
Application web de mini-jeux en ligne
Chargement...
Recherche...
Aucune correspondance
PaymentException.php
Aller à la documentation de ce fichier.
1
<?php
9
10
11
namespace
ComusParty\App\Exceptions;
12
13
use Exception;
14
use Throwable;
15
20
class
PaymentException
extends
Exception
21
{
28
public
function
__construct
(
string
$message =
""
,
int
$code = 402, ?Throwable $previous =
null
)
29
{
30
parent::__construct($message, $code, $previous);
31
}
32
37
public
function
__toString
()
38
{
39
return
__CLASS__ .
": [$this->code]: $this->message\n"
;
40
}
41
}
ComusParty\App\Exceptions\PaymentException
Classe PaymentException.
Definition
PaymentException.php:21
ComusParty\App\Exceptions\PaymentException\__toString
__toString()
Retourne une chaîne de caractère affichant le message d'erreur.
Definition
PaymentException.php:37
ComusParty\App\Exceptions\PaymentException\__construct
__construct(string $message="", int $code=402, ?Throwable $previous=null)
Constructeur de la classe PaymentException.
Definition
PaymentException.php:28
src
App
Exceptions
PaymentException.php
Généré le Mardi 18 Mars 2025 12:17:41 pour Comus Party par
1.13.2