You are here

protected function WsConnector::setError in Web Service Data 7

File

./wsdata.module, line 392
Main module for wsconfig

Class

WsConnector
Class definition for Web Service Connector

Code

protected function setError($code, $message) {
  $this->error = array(
    'code' => $code,
    'message' => $message,
  );
}