public function __construct($command)
 {
     parent::__construct("Invalid command {$command}");
 }
 public function __construct(CommandInterface $command, $response)
 {
     parent::__construct(sprintf("Invalid command response. Command %1s got: %2s", get_class($command), json_encode($response)));
     $this->response = $response;
 }
 public function __construct(CommandInterface $command, array $arguments)
 {
     parent::__construct(sprintf("Invalid command arguments. Arguments for command %1s: %2s", get_class($command), json_encode($arguments)));
 }