Class RequestException
HTTP Request exception
- Exception implements Throwable
- RuntimeException
- GuzzleHttp\Exception\TransferException implements GuzzleHttp\Exception\GuzzleException
- GuzzleHttp\Exception\RequestException
Direct known subclasses
GuzzleHttp\Exception\BadResponseException, GuzzleHttp\Exception\ConnectException, GuzzleHttp\Exception\TooManyRedirectsExceptionIndirect known subclasses
GuzzleHttp\Exception\ClientException, GuzzleHttp\Exception\ServerException
public
|
#
__construct( $message,
|
public static
|
#
wrapException(
Wrap non-RequestExceptions with a RequestException |
public static
|
#
create(
Factory method to create a new exception with a normalized error message |
public static
string|null
|
#
getResponseBodySummary(
Get a short summary of the response |
public
|
|
public
|
|
public
boolean
|
|
public
array
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$code,
$file,
$line,
$message
|