RequestException class

Framework\HTTP\Client\RequestException

Class RequestException.

Extends RuntimeException

Implements: Stringable, Throwable

Defined in libraries/http-client/src/RequestException.php

Properties #

$info
-

$info

protected array $info

Methods #

__construct()
RequestException constructor.
getInfo()
-

__construct()

public function __construct(string $message = '', int $code = 0, ?Throwable $previous = NULL, array $info = array ( ))

RequestException constructor.

Parameters
  • string $message
  • int $code
  • ?Throwable $previous
  • array $info

getInfo()

public function getInfo(): array
Returns array

Inherited methods #