Warning exceptional–conditions are used to inform the user about something; for example the use of a dangerous or deprecated procedure. We can use them as follows:
mbfl_default_object_declare(CND) mbfl_warning_condition_make _(CND) 'someone' 'starting dangerous situation' mbfl_exception_raise _(CND)
Usually when an exceptional–condition of this class is raised: the correct handling is to just notify the user and resume the execution of the script.
• conditions warning class: | Class definition of mbfl_warning_condition .
| |
• conditions warning constructors: | Class constructors of mbfl_warning_condition .
| |
• conditions warning attributes: | Attributes of mbfl_warning_condition .
|
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.