Developing Secure Code
Testing Components
createComponent()
createComponents()
enqueueAction()
error()
get()
getCallback()
getComponent()
getReference()
getRoot()
getToken()
log()
reportError()
run()
set()
warning()
Previous PDF Versions
Deprecated. For a serious error that has no recovery path, throw a standard JavaScript error instead by using throw new Error(msg).
error (String msg, Error e)
msg: Type: String. The error message to display to the user.
e: Type: Error. The error message to display to the user.