ErrorReporter

class ErrorReporter : ErrorReportSubmitter(source)

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

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Holds constants.

Functions

Link copied to clipboard
open fun changeReporterAccount(@NotNull p0: @NotNull Component)
Link copied to clipboard
fun getIssueUrl(events: Array<out IdeaLoggingEvent>, additionalInfo: String?): String

Constructs a URL to create an issue with the given information that is below the maximum URL limit.

Link copied to clipboard
open fun getPluginDescriptor(): PluginDescriptor
Link copied to clipboard
open override fun getPrivacyNoticeText(): String

Returns the privacy notice text.

Link copied to clipboard
open override fun getReportActionText(): String

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

Link copied to clipboard
@Nullable
open fun getReporterAccount(): @Nullable String?
Link copied to clipboard
open override fun setPluginDescriptor(@NotNull p0: @NotNull PluginDescriptor)
Link copied to clipboard
open fun submit(p0: Array<IdeaLoggingEvent>, p1: Component): SubmittedReportInfo

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

Submits the exception as desired by the user.