intellij-randomness / com.fwdekker.randomness / ErrorReporter

ErrorReporter

class ErrorReporter : ErrorReportSubmitter

A report submitter that opens a pre-filled issue creation form on Randomness' GitHub repository.

This class pertains to reports of exceptions that are not caught by the plugin and end up being shown to the user as a notification by IntelliJ.

Constructors

<init>

ErrorReporter()

A report submitter that opens a pre-filled issue creation form on Randomness' GitHub repository.

Functions

getReportActionText

fun getReportActionText(): String

Returns the text that is displayed in the button to report the error.

submit

fun submit(events: Array<out IdeaLoggingEvent>, additionalInfo: String?, parentComponent: Component, consumer: Consumer<SubmittedReportInfo>): Boolean

Submits the exception as desired by the user.