AppFrameworkError QML Type

Provides Error Message related details. More...

Import Statement: import ArcGIS.AppFramework 1.0



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;

        MessageDialog {
                id: messageDlg
                title: "Download Error"
                icon: StandardIcon.Critical

        Button {
                text: "Download"
                onClicked: {

Property Documentation

[read-only] code : int

Returns the error code of the current error.

[read-only] details : string

Returns the details of the current error.

[read-only] message : string

Returns the message associated with the current error.

Signal Documentation


Signal emitted when the error code/messages/details of the error have changed.

Note: The corresponding handler is onObjectChanged.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.