Callback function that is invoked in case of an error.
errorCallback( errorObject )
Name | Type | Description |
errorObject | Object | An object containing properties: 'errorCode', 'errorMessage', and 'errorDomain'. The 'errorCode' is just a number uniquely identifying the error.The 'errorMessage' property is a string with more detailed information of what went wrong. The 'errorDomain' property specifies the domain that the error occurred in. |