aboutsummaryrefslogtreecommitdiffhomepage
path: root/infrastructure/Auth/Exceptions/InvalidCredentialsException.php
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/Auth/Exceptions/InvalidCredentialsException.php')
-rw-r--r--infrastructure/Auth/Exceptions/InvalidCredentialsException.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/infrastructure/Auth/Exceptions/InvalidCredentialsException.php b/infrastructure/Auth/Exceptions/InvalidCredentialsException.php
new file mode 100644
index 0000000..45a8b6e
--- /dev/null
+++ b/infrastructure/Auth/Exceptions/InvalidCredentialsException.php
@@ -0,0 +1,13 @@
+<?php
+
+namespace Infrastructure\Auth\Exceptions;
+
+use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
+
+class InvalidCredentialsException extends UnauthorizedHttpException
+{
+ public function __construct($message = null, \Exception $previous = null, $code = 0)
+ {
+ parent::__construct('', $message, $previous, $code);
+ }
+} \ No newline at end of file