forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrorObject.xml
More file actions
44 lines (44 loc) · 1.94 KB
/
Copy patherrorObject.xml
File metadata and controls
44 lines (44 loc) · 1.94 KB
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
38
39
40
41
42
43
44
<doc>
<legacy_id>2018</legacy_id>
<name>errorObject</name>
<type>function</type>
<syntax>
<example>the errorObject</example>
<example>errorObject()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
</classification>
<references>
<message tag="errorDialog">errorDialog Message</message>
<property tag="lockErrorDialogs">lockErrorDialogs Property</property>
</references>
<history>
<introduced version="1.0">Added.</introduced>
<removed version="1.1">No longer present.</removed>
</history>
<platforms>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<summary>Removed in version 1.1.</summary>
<examples>
<example>the errorObject</example>
<example>edit script of the errorObject</example>
</examples>
<description>
<p>The <b>errorObject</b> <control_st tag="function">function</control_st> <glossary tag="return">returned</glossary> the name of the <glossary tag="object">object</glossary> whose <property tag="script">script</property> had the most recent <glossary tag="execution error">execution error</glossary>.</p><p/><p>For the information formerly returned by the <b>errorObject</b> <control_st tag="function">function</control_st>, use the <function tag="target">target</function> <control_st tag="function">function</control_st> inside an <message tag="errorDialog">errorDialog</message> <glossary tag="handler">handler</glossary>. The <message tag="errorDialog">errorDialog</message> message is sent to the object whose <property tag="script">script</property> caused the <glossary tag="error">error</glossary>, so checking the <function tag="target">target</function> <control_st tag="function">function</control_st> will <constant tag="return">return</constant> the name of that <glossary tag="object">object</glossary>.</p>
</description>
</doc>