Class ErrorResponseMock
Interface used to create an exception from an error response
- Exception implements Throwable
- Guzzle\Tests\Mock\ErrorResponseMock implements Guzzle\Plugin\ErrorResponse\ErrorResponseExceptionInterface
public static
|
#
fromCommand(
Create an exception for a command based on a command and an error response definition |
public
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
public
|
$command
|
|
public
|
$response
|
$code,
$file,
$line,
$message
|