HulaLoop
Simple cross-platform audio loopback and recording.
Public Member Functions | List of all members
hula::ControlException Class Reference

Exception class for the control module and higher. More...

#include <HulaControlError.h>

Public Member Functions

 ControlException (int errorCode)
 Constructor of ControlException.
 
const std::string getErrorMessage () const
 This method returns the error message that corresponds to the error code in the locale given by the application. More...
 
int getErrorCode () const
 This method returns the error code. More...
 

Detailed Description

Exception class for the control module and higher.

Member Function Documentation

◆ getErrorCode()

int hula::ControlException::getErrorCode ( ) const
inline

This method returns the error code.

Returns
int - The error code

◆ getErrorMessage()

const std::string hula::ControlException::getErrorMessage ( ) const
inline

This method returns the error message that corresponds to the error code in the locale given by the application.

Returns
std::string - The translated error message

The documentation for this class was generated from the following file: