for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Parroauth2\Client\Exception;
/**
* Class InvalidGrantException
*/
class InvalidGrantException extends OAuthServerException
{
public const ERROR_TYPE = 'invalid_grant';
* InvalidGrantException constructor.
*
* @param string $message
* @param string|null $hint
* @param \Exception|null $previous
* @param int $code
public function __construct($message, $hint = null, \Exception $previous = null, $code = 0)
parent::__construct(400, self::ERROR_TYPE, $message, $hint, $previous, $code);
}