Correction du merge
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
b02c9b3edd
commit
c501609093
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InexistantIdentifierException extends Exception
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct("Identifiant inexistant");
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Exceptions;
|
||||
|
||||
use Exception;
|
||||
class InvalidIdentifierOrPasswordException extends Exception
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct("Identifiant ou mot de passe invalide");
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InvalidUsernameOrPasswordException extends Exception
|
||||
{
|
||||
public function __construct($message = "nom d'utilisateur ou mot de passe invalide", $code = 0, Exception $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue