RequestBehaviour
Table of Contents
-
$exception
: Exception|null
-
$retryDuration
: int|null
-
exception()
: Exception|null
-
fail()
: RequestBehaviour
-
retry()
: RequestBehaviour
-
retryDuration()
: int|null
-
__construct()
: mixed
$exception
private
Exception|null
$exception
$retryDuration
private
int|null
$retryDuration
exception()
public
exception() : Exception|null
Return values
Exception|null
—
fail()
public
static fail(Exception $error) : RequestBehaviour
Parameters
-
$error
: Exception
-
Return values
RequestBehaviour
—
retry()
public
static retry(int $retryDuration) : RequestBehaviour
Parameters
-
$retryDuration
: int
-
Return values
RequestBehaviour
—
retryDuration()
public
retryDuration() : int|null
Return values
int|null
—
__construct()
private
__construct(int|null $retryDuration, Exception|null $exception) : mixed
Parameters
-
$retryDuration
: int|null
-
-
$exception
: Exception|null
-
Return values
mixed
—