URY playd
C++ minimalist audio player
NoAudioError Class Reference

An Error signifying that no audio is loaded. More...

#include <errors.hpp>

+ Inheritance diagram for NoAudioError:
+ Collaboration diagram for NoAudioError:

Public Member Functions

 NoAudioError (const std::string &msg)
 Constructs an NoAudioError. More...
 
- Public Member Functions inherited from Error
 Error (const std::string &msg)
 Constructs an Error. More...
 
const std::string & Message () const
 The human-readable message for this error. More...
 

Detailed Description

An Error signifying that no audio is loaded.

Definition at line 120 of file errors.hpp.

Constructor & Destructor Documentation

§ NoAudioError()

NoAudioError::NoAudioError ( const std::string &  msg)
inline

Constructs an NoAudioError.

Parameters
msgThe human-readable message of the error.

Definition at line 127 of file errors.hpp.

127  : Error(msg)
128  {
129  }
Error(const std::string &msg)
Constructs an Error.
Definition: errors.cpp:12

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