A subtype of RC::ErrorMsg for Networking related errors. More...
#include <Errors.h>
Public Member Functions | |
ErrorMsgNet (const char *new_err_msg, const char *filename="", int line_number=0) | |
The default constructor. More... | |
Public Member Functions inherited from RC::ErrorMsg | |
ErrorMsg (const char *new_err_msg=NULL, const char *filename=NULL, int line_number=0) noexcept | |
The default constructor. More... | |
virtual const char * | GetError () const noexcept |
Provides the reason given for the error. More... | |
virtual const char * | GetType () const noexcept |
Provides the type of the exception if this is a subclass. More... | |
virtual bool | IsError (const char *test_err) const noexcept |
Return true if the the reason for the exception matches test_err. More... | |
virtual const char * | what () const noexcept |
Returns a full descriptive error message with reason, source location, and stack trace. More... | |
A subtype of RC::ErrorMsg for Networking related errors.
|
inline |
The default constructor.
Use the convenience macro Throw_RC_Type( Net , "Reason");