URY playd
C++ minimalist audio player
FileError Class Reference

An Error signifying that playd can't read a file. More...

#include <errors.hpp>

+ Inheritance diagram for FileError:
+ Collaboration diagram for FileError:

Public Member Functions

 FileError (const std::string &msg)
 Constructs a FileError. 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 playd can't read a file.

Definition at line 75 of file errors.hpp.

Constructor & Destructor Documentation

§ FileError()

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

Constructs a FileError.

Parameters
msgThe human-readable message of the error.

Definition at line 82 of file errors.hpp.

82  : Error(msg)
83  {
84  }
Error(const std::string &msg)
Constructs an Error.
Definition: errors.cpp:12

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