code: public function getTransportError()
      {
          if (is_integer($this->focus)) {
              return $this->frames[$this->focus]->getTransportError();
          }
  
          return $this->frameset->getTransportError();
      }
docs: Accessor for last error.
  
  @return string        Error from last response.