Always use our own exception tree

This commit is contained in:
emeric
2018-07-26 10:26:49 +02:00
parent 853bcbe008
commit a31fb3c062
9 changed files with 27 additions and 20 deletions
+7 -1
View File
@@ -57,7 +57,13 @@ struct StreamInfo
std::size_t bitrate;
};
class MediaFileException : public LmsException
class AvException : public LmsException
{
public:
AvException(const std::string& msg) : LmsException(msg) {}
};
class MediaFileException : public AvException
{
public:
MediaFileException(int avError);