feisty meow concerns codebase  2.140
guards.cpp File Reference
#include "astring.h"
#include "guards.h"
Include dependency graph for guards.cpp:

Go to the source code of this file.

Namespaces

 basis
 The guards collection helps in testing preconditions and reporting errors.
 

Functions

void basis::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. More...
 
void basis::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. More...
 
void basis::throw_error (const astring &class_name, const astring &func_name, const astring &error_message)
 synonym method using astrings for easier char * handling. More...