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

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

#include <HulaAudioError.h>

Public Member Functions

 AudioException (int errorCode, const std::string &msg)
 Constructor of AudioException.
 
const std::string getMessage () const
 This method returns the error message that corresponds to the error code. 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::AudioException::getErrorCode ( ) const
inline

This method returns the error code.

Returns
int - The error code

◆ getMessage()

const std::string hula::AudioException::getMessage ( ) const
inline

This method returns the error message that corresponds to the error code.

Returns
std::string - The error message

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