class AccessTokenInvalidException extends Exception

An AccessTokenInvalidException gets thrown when the access token was not accepted by the API.

Methods

__construct(RequestException $previous, string $message = '')

Exception constructor.

from Exception
serialize()

{@inheritdoc}

from Exception
unserialize($serialized)

{@inheritdoc}

from Exception
getRequest()

Get the request that caused the exception.

from Exception
ResponseInterface|null
getResponse()

Get the associated response.

from Exception
hasResponse()

Check if a response was received.

from Exception
string|null
getRequestId()

No description

from Exception

Details

in Exception at line 50
__construct(RequestException $previous, string $message = '')

Exception constructor.

Parameters

RequestException $previous
string $message

in Exception at line 70
serialize()

{@inheritdoc}

in Exception at line 86
unserialize($serialized)

{@inheritdoc}

Parameters

$serialized

in Exception at line 122
getRequest()

Get the request that caused the exception.

in Exception at line 132
ResponseInterface|null getResponse()

Get the associated response.

Return Value

ResponseInterface|null

in Exception at line 140
hasResponse()

Check if a response was received.

in Exception at line 148
string|null getRequestId()

Return Value

string|null