diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-18 20:25:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-18 20:25:21 +0100 |
| commit | 09d57c4e580533c959a0d0d07051f0aef9317628 (patch) | |
| tree | 989ec43fe87fc8e3c4a13c0cf754a8a5a349c757 /src/exceptions.h | |
| parent | ee05b1c06aa5305b5c97dc74dc8f253bab99a2ac (diff) | |
Throw a better error on bad content kind.
Diffstat (limited to 'src/exceptions.h')
| -rw-r--r-- | src/exceptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 8bc6e550..d66e8944 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -136,6 +136,12 @@ public: ~MissingAssetError () throw () {} }; +class BadContentKindError : public DCPReadError +{ +public: + BadContentKindError (std::string content_kind); +}; + /** @class XMLError * @brief An XML error */ |
