ErrorReporter

internal class ErrorReporter : ErrorReportSubmitter(source)

Reports exceptions on GitHub.

Heavily inspired by Patrick Scheibe's error reporter.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val github: GitHubReporter

Interacts with GitHub.

Functions

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
private fun notifyUser(report: SubmittedReportInfo)

Displays a notification to the user explaining the report.

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

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