sendPluginError method
Implementation
void sendPluginError(
Exception exception,
StackTrace stackTrace,
) {
channel.sendNotification(plugin.PluginErrorParams(
false,
exception.toString(),
stackTrace.toString(),
).toNotification());
}