public static function ServicesClientConnectionHttp::isError in Services Client 7.2
Same name and namespace in other branches
- 7 services_client_connection/include/http.inc \ServicesClientConnectionHttp::isError()
Check if error code represents error
Parameters
bool:
2 calls to ServicesClientConnectionHttp::isError()
- ServicesClientConnectionRestServer::processResponse in services_client_connection/
plugins/ ServicesClientConnectionRestServer.inc - Implements processResponse().
- ServicesClientConnectionXmlrpcServer::processResponse in services_client_connection/
plugins/ ServicesClientConnectionXmlrpcServer.inc
File
- services_client_connection/
include/ http.inc, line 184
Class
- ServicesClientConnectionHttp
- Helper HTTP class
Code
public static function isError($code) {
return $code >= 400 && $code < 600;
}