Mercurial > octave-nkf
comparison scripts/miscellaneous/error_ids.m @ 15703:1407aac91bee
error_ids: explanations of standard Octave: erorr ids
author | Juan Pablo Carbajal <ajuanpi+dev@gmail.com> |
---|---|
date | Tue, 20 Nov 2012 00:25:31 +0100 |
parents | |
children | a3189d329906 |
comparison
equal
deleted
inserted
replaced
15702:534b6f7108b7 | 15703:1407aac91bee |
---|---|
1 ## Copyright (C) 2012 Juan Pablo Carbajal | |
2 ## | |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7 ## the Free Software Foundation; either version 3 of the License, or (at | |
8 ## your option) any later version. | |
9 ## | |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
16 ## along with Octave; see the file COPYING. If not, see | |
17 ## <http://www.gnu.org/licenses/>. | |
18 | |
19 ## -*- texinfo -*- | |
20 ## @cindex error ids | |
21 ## | |
22 ## @table @code | |
23 ## @item Octave:invalid-context | |
24 ## Idicates the error was generated by an operation that cannot be executed in | |
25 ## the scope of the call that rose the error. For example, the function | |
26 ## @code{print_usage()} when called from ## the Octave prompt rises this error. | |
27 ## | |
28 ## @item Octave:invalid-input-arg | |
29 ## Indicates that a function was called with invalid input arguments. | |
30 ## | |
31 ## @item Octave:invalid-fun-call | |
32 ## Indicates that a function was called in an incorrect way, e.g. wrong number | |
33 ## of input arguments. | |
34 ## | |
35 ## @item Octave:invalid-indexing | |
36 ## Indicates that a data-type was indexed incorrectly, e.g. real-value index for | |
37 ## arrays, inexistent field of a structure | |
38 ## | |
39 ## @end table | |
40 | |
41 | |
42 function error_ids () | |
43 help ("error_ids"); | |
44 endfunction | |
45 | |
46 ## Remove from test statistics. No real tests possible | |
47 %!assert (1) |