errorObject

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the errorObject
errorObject()
Summary

Removed in version 1.1.

Introduced1.0
OSios, android
Platformsdesktop, server, mobile
Example
the errorObject
edit script of the errorObject
RelatedProperty: lockErrorDialogs, script
Constant: return
Message: errorDialog
Function: target
Control Structure: function
Glossary: handler, error, return, execution error, object
Description

The errorObject function returned the name of the object whose script had the most recent execution error.

For the information formerly returned by the errorObject function, use the target function inside an errorDialog handler. The errorDialog message is sent to the object whose script caused the error, so checking the target function will return the name of that object.