12.3 Warning exceptional–condition objects

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.


This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.