12.2.2.2 Attribute message of mbfl_exceptional_condition

Given a subclass of mbfl_exceptional_condition we can use this attribute as follows:

mbfl_default_object_declare(CND)
mbfl_declare_varref(MSG)

mbfl_runtime_error_condition_make _(CND) 'someone' 'bad thing'
mbfl_exceptional_condition_message_var _(MSG) _(CND)
"$MSG"  ⇒ bad thing
Class Attribute of mbfl_exceptional_condition_t: message

A non–empty string describing the exceptional–condition.

Accessor on mbfl_exceptional_condition_t: mbfl_exceptional_condition_message_set CND MESSAGE
Mutator on mbfl_exceptional_condition_t: mbfl_exceptional_condition_message_var MESSAGE_RV CND

Class attribute accessor and mutator.


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