InvalidTokenException.php 351 B

12345678910111213141516171819
  1. <?php
  2. namespace Overtrue\Socialite\Exceptions;
  3. class InvalidTokenException extends Exception
  4. {
  5. public string $token;
  6. /**
  7. * @param string $message
  8. * @param string $token
  9. */
  10. public function __construct(string $message, string $token)
  11. {
  12. parent::__construct($message, -1);
  13. $this->token = $token;
  14. }
  15. }