Get the error associated with a plugin @return the error message
()
| 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 |
no test coverage detected