summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-13 21:22:00 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commitea454d8c6eabe0dfa3e82b36e5813012cf93395c (patch)
tree8c307f78eeee4a09a2a825d7788f7a29fb9a642f /src/exceptions.h
parent197b0139dc0765ef5cd67acf6770ef9037718235 (diff)
Throw an exception on making a DCP with no reels.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index b9bcfd37..76a66808 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -283,6 +283,12 @@ public:
};
+class NoReelsError : public std::runtime_error
+{
+public:
+ NoReelsError ();
+};
+
}
#endif