#include <error.hh>
Public Member Functions | |
psh (ERR_type_t tt=ERR_UNKNOWN_TYPE, ERR_id_t i=ERR_UNKNOWN_ID) | |
Public Attributes | |
ERR_id_t | c |
ERR_type_t | t |
This structure should be used as follows:
terr << "My warning mess" << "age" << psh(3,13565)
Sending psh() to an instance of error_vector_t through an operator `<<' causes the end of assigning of a message. Message is then stored at the end of a list of error messages. Then 'warning handling callback' is called (callback that can be set by error_vector_t::set_push_callback()).