summaryrefslogtreecommitdiffstats
path: root/doc/catch.n
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:44:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 15:44:16 (GMT)
commit4afa38297142ce01a7e51a45b67a051b6244f8f7 (patch)
tree361d48666eead19f276d5901336ee8e58279f405 /doc/catch.n
parent14a974e2d0b4cef691c867645ea568f9c5add82d (diff)
parent49a7184962b241204447d10cb9546f514237c344 (diff)
downloadtcl-4afa38297142ce01a7e51a45b67a051b6244f8f7.zip
tcl-4afa38297142ce01a7e51a45b67a051b6244f8f7.tar.gz
tcl-4afa38297142ce01a7e51a45b67a051b6244f8f7.tar.bz2
Merge 8.7
Diffstat (limited to 'doc/catch.n')
-rw-r--r--doc/catch.n6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/catch.n b/doc/catch.n
index d43a7ec..8d885d4 100644
--- a/doc/catch.n
+++ b/doc/catch.n
@@ -56,9 +56,7 @@ When the return code from evaluation of \fIscript\fR is
\fBTCL_ERROR\fR, four additional entries are defined in the dictionary
of return options stored in \fIoptionsVarName\fR: \fB\-errorinfo\fR,
\fB\-errorcode\fR, \fB\-errorline\fR, and
-.VS 8.6
\fB\-errorstack\fR.
-.VE 8.6
The value of the \fB\-errorinfo\fR entry is a formatted stack trace containing
more information about the context in which the error happened. The formatted
stack trace is meant to be read by a person. The value of the
@@ -67,7 +65,6 @@ list. The \fB\-errorcode\fR value is meant to be further processed by
programs, and may not be particularly readable by people. The value of the
\fB\-errorline\fR entry is an integer indicating which line of \fIscript\fR
was being evaluated when the error occurred.
-.VS 8.6
The value of the \fB\-errorstack\fR entry is an
even-sized list made of token-parameter pairs accumulated while
unwinding the stack. The token may be
@@ -87,14 +84,11 @@ the static text of the calling sites, and
.IP [3]
it is coarser-grained, with only one element per stack frame (like procs; no
separate elements for \fBforeach\fR constructs for example).
-.VE 8.6
.PP
The values of the \fB\-errorinfo\fR and \fB\-errorcode\fR entries of
the most recent error are also available as values of the global
variables \fB::errorInfo\fR and \fB::errorCode\fR respectively.
-.VS 8.6
The value of the \fB\-errorstack\fR entry surfaces as \fBinfo errorstack\fR.
-.VE 8.6
.PP
Tcl packages may provide commands that set other entries in the
dictionary of return options, and the \fBreturn\fR command may be