fromCommand()
fromCommand(\Guzzle\Service\Command\CommandInterface $command, \Guzzle\Http\Message\Response $response) : self
Create an exception for a command based on a command and an error response definition
Parameters
\Guzzle\Service\Command\CommandInterface | $command | Command that was sent |
\Guzzle\Http\Message\Response | $response | The error response |