Type type_
Definition: RtError.h:38
virtual const Type & getType(void)
Returns the thrown error message type.
Definition: RtError.h:51
Exception handling class for RtAudio & RtMidi.
Definition: RtError.h:18
virtual void printMessage(void)
Prints thrown error message to stderr.
Definition: RtError.h:48
virtual const char * getMessageString(void)
Returns the thrown error message as a C string.
Definition: RtError.h:57
std::string message_
Definition: RtError.h:37
RtError(const std::string &message, Type type=RtError::UNSPECIFIED)
The constructor.
Definition: RtError.h:42
Type
Defined RtError types.
Definition: RtError.h:22
virtual const std::string & getMessage(void)
Returns the thrown error message string.
Definition: RtError.h:54
virtual ~RtError(void)
The destructor.
Definition: RtError.h:45