showErrorMessageAsync

fun <T : MessageItem> showErrorMessageAsync(message: String, vararg items: T): PromiseLike<T?>(source)

Show an error message.

Parameters

message

The message to show.

items

A set of items that will be rendered as actions in the message.

See also

showInformationMessage

window.showInformationMessage


fun showErrorMessageAsync(message: String, options: MessageOptions, vararg items: String): PromiseLike<JsString?>(source)
fun <T : MessageItem> showErrorMessageAsync(message: String, options: MessageOptions, vararg items: T): PromiseLike<T?>(source)

Show an error message.

Parameters

message

The message to show.

options

Configures the behaviour of the message.

items

A set of items that will be rendered as actions in the message.

See also

showInformationMessage

window.showInformationMessage