Octave includes several functions for printing error and warning messages. When you write functions that need to take special action when they encounter abnormal conditions, you should print the error messages using the functions described in this chapter.
Since many of Octave’s functions use these functions, it is also useful to understand them, so that errors and warnings can be handled.