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

Method error

basex-core/src/main/java/org/basex/core/Command.java:313–317  ·  view source on GitHub ↗

Adds the error message to the message buffer #info. @param msg error message @param ext error extension @return false

(final String msg, final Object... ext)

Source from the content-addressed store, hash-verified

311 * @return {@code false}
312 */
313 protected final boolean error(final String msg, final Object... ext) {
314 info.reset();
315 info.addExt(msg == null ? "" : msg, ext);
316 return false;
317 }
318
319 /**
320 * Adds information on command execution.

Callers 2

runMethod · 0.95
getOptionMethod · 0.95

Calls 2

addExtMethod · 0.80
resetMethod · 0.65

Tested by

no test coverage detected