summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-25 11:41:21 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-25 16:16:37 +0100
commit54038beb4437c027e584fc95110f6fd4dbf2207d (patch)
treed72963f95eaa0f0aba26dfa1db90838f1c6292f2 /src/lib/exceptions.h
parentb42066b7d664ac322e6d2c79c5b0fa8bb0eb75c9 (diff)
Add channel details to high-audio-level hints (#822).
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h
index 75f4a8cd1..98727e0cc 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -241,4 +241,12 @@ public:
{}
};
+class OldFormatError : public std::runtime_error
+{
+public:
+ OldFormatError (std::string s)
+ : std::runtime_error (s)
+ {}
+};
+
#endif