Function: showErrorMessage()
showErrorMessage(
message, ...items):Promise<string|undefined>
Defined in: packages/extension-api/src/extension-api.d.ts:2222
Show a error message. Optionally provide an array of items which will be presented as clickable buttons.
Parameters
message
string
The message to show.
items
...string[]
A set of items that will be rendered as actions in the message.
Returns
Promise<string | undefined>
A promise that resolves to the selected item or undefined when being dismissed.