From ea454d8c6eabe0dfa3e82b36e5813012cf93395c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Dec 2020 21:22:00 +0100 Subject: Throw an exception on making a DCP with no reels. --- src/exceptions.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/exceptions.h') 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 -- cgit v1.2.3