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 the IDE.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Holds constants.

Functions

Link copied to clipboard
fun getIssueUrl(additionalInfo: String?): String

Constructs a URL to create an issue that provides additionalInfo and is below the maximum URL limit.

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
open override fun submit(events: Array<IdeaLoggingEvent>, additionalInfo: String?, parentComponent: Component, consumer: Consumer<in SubmittedReportInfo>): Boolean

Submits the exception by opening the browser to create an issue on GitHub.