System Error

aura:systemError

Indicates that an error has occurred.

This event is fired when an error is encountered during the execution of a server-side action. Handle this event using the aura:handler tag.

This example shows a button that triggers an error and a handler for the aura:systemError event.

This client-side controller triggers the firing of an error and handles that error.

NameDescriptionTypeDefaultRequired
errorThe system error that's returned.string
messageThe message to be displayed during an error.string