File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1177,17 +1177,17 @@ by @samp{error: }.
1177
1177
1178
1178
The optional @var{id} argument allows programmers to tag an error
1179
1179
with a specific identifier so that users can later retrieve it (using
1180
- @code{lasterr} or @var {lasterror}) and know the origin of the error.
1181
- The identifier must contain at least one colon character (@qcode{":" })
1180
+ @code{lasterr} or @code {lasterror}) and know the origin of the error.
1181
+ The identifier must contain at least one colon character (@qcode{':' })
1182
1182
and must not contain any whitespace characters. It should be a string of
1183
- the form @qcode{"NAMESPACE:WARNING -NAME"}. Octave's own errors use the
1183
+ the form @qcode{"NAMESPACE:ERROR -NAME"}. Octave's own errors use the
1184
1184
@qcode{"Octave"} namespace (@pxref{XREFerror_ids,,@code{error_ids}}).
1185
1185
For example:
1186
1186
1187
1187
@example
1188
1188
@group
1189
1189
error ("MyNameSpace:wrong-type-argument",
1190
- "foo : argument should be numeric");
1190
+ "fcn_name : argument should be numeric");
1191
1191
@end group
1192
1192
@end example
1193
1193
You can’t perform that action at this time.
0 commit comments