Provides Error Message related details. More...
Import Statement: | import ArcGIS.AppFramework 1.0 |
Properties
Signals
Detailed Description
The AppFrameworkError type is used to return error information from operations such as downloading a portal item through ItemPackage.
You cannot create or declare a component of this type in QML, it can only be written to by other components.
Item { ItemPackage { id: itemPackage portal: app.portal onDownloadComplete: { console.log("Itempackage downloaded") } onDownloadError: { messageDlg.text = error.message; messageDlg.informativeText = error.details; messageDlg.open(); } } MessageDialog { id: messageDlg title: "Download Error" icon: StandardIcon.Critical } Button { text: "Download" onClicked: { itemPackage.download(app.info.itemId); } } }
Property Documentation
Signal Documentation
Signal emitted when the error code/messages/details of the error have changed.
Note: The corresponding handler is onObjectChanged
.