summaryrefslogtreecommitdiffstats
path: root/doc/error.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-29 11:28:49 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-29 11:28:49 (GMT)
commit18476c905183d0b6cfbac7a85e8543265cf9fae0 (patch)
treedb7d2280643a39b2805c9c90cc8dffc8673fc107 /doc/error.n
parent77f37026419a7e05c71c233d137412f77aee2825 (diff)
downloadtcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.zip
tcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.tar.gz
tcl-18476c905183d0b6cfbac7a85e8543265cf9fae0.tar.bz2
GOOBE the docs some more.
Diffstat (limited to 'doc/error.n')
-rw-r--r--doc/error.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/error.n b/doc/error.n
index 20bdbfe..d7ef30c 100644
--- a/doc/error.n
+++ b/doc/error.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: error.n,v 1.9 2005/05/10 18:33:59 kennykb Exp $
+'\" RCS: @(#) $Id: error.n,v 1.10 2007/10/29 11:28:50 dkf Exp $
'\"
.so man.macros
.TH error n "" Tcl "Tcl Built-In Commands"
@@ -23,12 +23,12 @@ Returns a \fBTCL_ERROR\fR code, which causes command interpretation to be
unwound. \fIMessage\fR is a string that is returned to the application
to indicate what went wrong.
.PP
-The \fB-errorinfo\fR return option of an interpreter is used
+The \fB\-errorinfo\fR return option of an interpreter is used
to accumulate a stack trace of what was in progress when an
error occurred; as nested commands unwind,
-the Tcl interpreter adds information to the \fB-errorinfo\fR
+the Tcl interpreter adds information to the \fB\-errorinfo\fR
return option. If the \fIinfo\fR argument is present, it is
-used to initialize the \fB-errorinfo\fR return options and
+used to initialize the \fB\-errorinfo\fR return options and
the first increment of unwind information
will not be added by the Tcl interpreter.
In other
@@ -54,7 +54,7 @@ return -options $options $errMsg\fR
.CE
.PP
If the \fIcode\fR argument is present, then its value is stored
-in the \fB-errorcode\fR return option. The \fB-errorcode\fR
+in the \fB\-errorcode\fR return option. The \fB\-errorcode\fR
return option is intended to hold a machine-readable description
of the error in cases where such information is available; see
the \fBreturn\fR manual page for information on the proper format