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

ErrorReporter
Link copied to clipboard
fun ErrorReporter()

Types

Companion
Link copied to clipboard
object Companion
Holds constants.

Functions

changeReporterAccount
Link copied to clipboard
open fun changeReporterAccount(@NotNull() p0: @NotNull() Component)
getIssueUrl
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.
getPluginDescriptor
Link copied to clipboard
open fun getPluginDescriptor(): PluginDescriptor
getPrivacyNoticeText
Link copied to clipboard
open override fun getPrivacyNoticeText(): String
Returns the privacy notice text.
getReportActionText
Link copied to clipboard
open override fun getReportActionText(): String
Returns the text that is displayed in the button to report the error.
getReporterAccount
Link copied to clipboard
@Nullable()
open fun getReporterAccount(): @Nullable() String?
setPluginDescriptor
Link copied to clipboard
open override fun setPluginDescriptor(@NotNull() p0: @NotNull() PluginDescriptor)
submit
Link copied to clipboard
@ApiStatus.ScheduledForRemoval(inVersion = 2021.3)
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.

Sources

jvm source
Link copied to clipboard