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(error_text) |
3294
|
16 |
3373
|
17 @DOCSTRING(beep_on_error) |
3294
|
18 |
3373
|
19 @DOCSTRING(warning) |
3294
|
20 |
3373
|
21 @DOCSTRING(usage) |
3294
|
22 |
|
23 The following pair of functions are of limited usefulness, and may be |
|
24 removed from future versions of Octave. |
|
25 |
3373
|
26 @DOCSTRING(perror) |
3294
|
27 |
3373
|
28 @DOCSTRING(strerror) |