X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fexceptions.h;h=618a03f4326510c8e532481ce899a7fb1dfcf18e;hb=0f9f004c50a8bea6b87d5a1636f95f67066e5187;hp=7c9509800ed3a40bf35f2cd88ce45755c44a03f8;hpb=dba3b79e848c70e405e41744c40b416014e86eb8;p=dcpomatic.git diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index 7c9509800..618a03f43 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -335,6 +335,15 @@ public: }; +class CPLNotFoundError : public DCPError +{ +public: + CPLNotFoundError(std::string id) + : DCPError(String::compose("CPL %1 not found", id)) + {} +}; + + class InvalidSignerError : public std::runtime_error { public: