You are here

public function ServicesClientConnectionResponseException::getErrorCode in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/include/exception.inc \ServicesClientConnectionResponseException::getErrorCode()

Return error reponse code.

Return value

int HTTP or cURL error code.

File

services_client_connection/include/exception.inc, line 79
Custom exception definitions

Class

ServicesClientConnectionResponseException
Common parent class for all services client module exceptions

Code

public function getErrorCode() {
  return $this->response->error_code;
}