Don't use this class directly; use the GVX_ERR_CONTEXT() macro instead. More...
#include <rutz/error_context.h>
Public Member Functions | |
error_context_entry (const rutz::fstring &msg) | |
Construct an error context entry, adding it to the current error_context. | |
~error_context_entry () | |
Destruct the error context entry, removing it from its error_context. | |
const rutz::fstring & | text () const |
Get the message associated with this entry. |
Don't use this class directly; use the GVX_ERR_CONTEXT() macro instead.
Definition at line 103 of file error_context.h.
rutz::error_context_entry::error_context_entry | ( | const rutz::fstring & | msg | ) |
Construct an error context entry, adding it to the current error_context.
Definition at line 127 of file error_context.cc.
References rutz::error_context::add_entry().
rutz::error_context_entry::~error_context_entry | ( | ) |
Destruct the error context entry, removing it from its error_context.
Definition at line 136 of file error_context.cc.
References rutz::error_context::remove_entry().
const rutz::fstring& rutz::error_context_entry::text | ( | ) | const [inline] |
Get the message associated with this entry.
Definition at line 113 of file error_context.h.