URY playd
C++ minimalist audio player
errors.cpp
Go to the documentation of this file.
1 // This file is part of playd.
2 // playd is licensed under the MIT licence: see LICENSE.txt.
3 
10 #include "errors.hpp"
11 
12 Error::Error(const std::string &msg) : message(msg)
13 {
14 }
15 
16 const std::string &Error::Message() const
17 {
18  return this->message;
19 }
Declarations of the playd Error exception set.
const std::string & Message() const
The human-readable message for this error.
Definition: errors.cpp:16
Error(const std::string &msg)
Constructs an Error.
Definition: errors.cpp:12
std::string message
The human-readable message for this Error.
Definition: errors.hpp:35