forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrorObject.lcdoc
More file actions
38 lines (25 loc) · 965 Bytes
/
errorObject.lcdoc
File metadata and controls
38 lines (25 loc) · 965 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Name: errorObject
Type: function
Syntax: the errorObject
Syntax: errorObject()
Summary:
Removed in version 1.1.
Introduced: 1.0
OS: ios, android
Platforms: desktop, server, mobile
Example:
the errorObject
Example:
edit script of the errorObject
Description:
The <errorObject> <function> <return|returned> the name of the
<object(glossary)> 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(glossary)>.
References: return (constant), function (control structure),
target (function), handler (glossary), error (glossary),
return (glossary), execution error (glossary), object (glossary),
errorDialog (message), lockErrorDialogs (property), script (property)