26 to_return += func_name;
28 to_return += error_message;
36 format_error(class_name, func_name, error_message, to_throw);
Provides a dynamically resizable ASCII character string.
Defines the base class for all string processing objects in hoople.
The guards collection helps in testing preconditions and reporting errors.
void throw_error(const base_string &class_name, const base_string &func_name, const base_string &error_message)
throws an error that incorporates the class name and function name.
void format_error(const base_string &class_name, const base_string &func_name, const base_string &error_message, base_string &to_fill)
writes a string "to_fill" in a nicely formatted manner using the class and function names.