Lines Matching defs:error
41 $this->error(-32700, 'parse error. not well formed');
44 $this->error(-32600, 'server error. invalid xml-rpc. not conforming to spec. Request must be a methodCall');
48 // Is the result an error?
50 $this->error($result);
77 return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
98 return new Error(-32601, "server error. requested callable '{$method}' does not exist.");
103 public function error($error, $message = false)
105 // Accepts either an error object or an error code and message
106 if ($message && !is_object($error)) {
107 $error = new Error($error, $message);
109 $this->output($error->getXml());