/**
  * Get the error code of the last HTTP call
  *
  * @return string
  */
 public function getErrorCode()
 {
     return $this->api->getStatusCode();
 }