showErrorPanel

fun showErrorPanel(title: String, message: String? = definedExternally, error: String? = definedExternally)(source)

Show an error panel to the user containing a title and a longer error message, which can be dismissed using an OK button. This panel is displayed automatically when a render loop error occurs, if showRenderLoopErrors was not false when the widget was constructed.

Parameters

title

The title to be displayed on the error panel. This string is interpreted as text.

message

A helpful, user-facing message to display prior to the detailed error information. This string is interpreted as HTML.

error

The error to be displayed on the error panel. This string is formatted using formatError and then displayed as text.

See also