Open Journal Systems
3.3.0
|
Static Public Member Functions | |
static | fromCommand (CommandInterface $command, Response $response) |
Interface used to create an exception from an error response
Definition at line 11 of file ErrorResponseExceptionInterface.php.
|
static |
Create an exception for a command based on a command and an error response definition
CommandInterface | $command | Command that was sent |
Response | $response | The error response |
Implemented in Guzzle\Tests\Mock\ErrorResponseMock.