sendPluginError method

void sendPluginError(
  1. Exception exception,
  2. StackTrace stackTrace
)

Implementation

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