MCPcopy Create free account
hub / github.com/BaseXdb/basex / error

Method error

basex-api/src/main/php/BaseXClient/Session.php:250–254  ·  view source on GitHub ↗

* Raises a socket error. */

($message)

Source from the content-addressed store, hash-verified

248 * Raises a socket error.
249 */
250 public function error($message) {
251 $code = socket_last_error();
252 $info = socket_strerror($code);
253 return new BaseXException($message.": ".$info." (".$code.")");
254 }
255}

Callers 6

__constructMethod · 0.95
executeMethod · 0.95
sendMethod · 0.95
readMethod · 0.95
runMethod · 0.45
connectToBasexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected