20 #include <alsa/asoundlib.h>
37 m_location(s), m_errCode(rc) { }
41 return snd_strerror(m_errCode);
46 return QString(
what());
QString qstrError() const
Gets the human readable error message from the error code.
int code() const
Gets the numeric error code.
SequencerError(QString const &s, int rc)
Constructor.
const QString & location() const
Gets the location of the error code as provided in the constructor.
virtual const char * what() const noexcept override
Retrieve a human readable error message.
SequencerError Exception class.