3294
|
1 @c Copyright (C) 1996, 1997 John W. Eaton |
|
2 @c This is part of the Octave manual. |
|
3 @c For copying conditions, see the file gpl.texi. |
|
4 |
4167
|
5 @node Error Handling |
3294
|
6 @chapter Error Handling |
|
7 |
|
8 Octave includes several functions for printing error and warning |
|
9 messages. When you write functions that need to take special action |
|
10 when they encounter abnormal conditions, you should print the error |
|
11 messages using the functions described in this chapter. |
|
12 |
3373
|
13 @DOCSTRING(error) |
3294
|
14 |
3373
|
15 @DOCSTRING(beep_on_error) |
3294
|
16 |
3373
|
17 @DOCSTRING(warning) |
3294
|
18 |
6549
|
19 @DOCSTRING(print_usage) |
|
20 |
3373
|
21 @DOCSTRING(usage) |
3294
|
22 |
6549
|
23 @DOCSTRING(lasterror) |
|
24 |
4169
|
25 @DOCSTRING(lasterr) |
|
26 |
|
27 @DOCSTRING(lastwarn) |
|
28 |
6549
|
29 @DOCSTRING(rethrow) |
|
30 |
|
31 @DOCSTRING(warning_ids) |
|
32 |
|
33 @DOCSTRING(errno) |
|
34 |
|
35 @DOCSTRING(errno_list) |
|
36 |
3294
|
37 The following pair of functions are of limited usefulness, and may be |
|
38 removed from future versions of Octave. |
|
39 |
3373
|
40 @DOCSTRING(perror) |
3294
|
41 |
3373
|
42 @DOCSTRING(strerror) |