MCPcopy Index your code
hub / github.com/extism/java-sdk / error

Method error

src/main/java/org/extism/sdk/Plugin.java:153–159  ·  view source on GitHub ↗

Get the error associated with a plugin @return the error message

()

Source from the content-addressed store, hash-verified

151 * @return the error message
152 */
153 protected String error() {
154 String error = LibExtism.INSTANCE.extism_plugin_error(this.pluginPointer);
155 if (error == null){
156 return new String("Unknown error encountered when running Extism plugin function");
157 }
158 return error;
159 }
160
161 /**
162 * Frees a plugin from memory

Callers 1

callMethod · 0.95

Calls 1

extism_plugin_errorMethod · 0.80

Tested by

no test coverage detected