From 49f9ec23d00bec2f284118fed3d48d10a6cc8537 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 22 Jan 2019 15:45:48 +0000 Subject: Reveal path in MissingAssetError. --- src/exceptions.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/exceptions.h') diff --git a/src/exceptions.h b/src/exceptions.h index d66e8944..4c54ac78 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -134,6 +134,13 @@ public: MissingAssetError (boost::filesystem::path, AssetType = UNKNOWN); ~MissingAssetError () throw () {} + + boost::filesystem::path path () const { + return _path; + } + +private: + boost::filesystem::path _path; }; class BadContentKindError : public DCPReadError -- cgit v1.2.3