AuthenticationException.php 284 B

123456789101112131415
  1. <?php
  2. namespace App\Exceptions;
  3. use Exception;
  4. use Throwable;
  5. class AuthenticationException extends Exception
  6. {
  7. public function __construct(string $message = 'Not Authorized', int $code = 401, Throwable $previous = null)
  8. {
  9. parent::__construct($message, $code, $previous);
  10. }
  11. }