LaravelFCM\Response\Exceptions\UnauthorizedRequestException::__construct PHP Method

__construct() public method

UnauthorizedRequestException constructor.
public __construct ( Response $response )
$response GuzzleHttp\Psr7\Response
    public function __construct(GuzzleResponse $response)
    {
        $code = $response->getStatusCode();
        parent::__construct('FCM_SENDER_ID or FCM_SERVER_KEY are invalid', $code);
    }
UnauthorizedRequestException