diff options
Diffstat (limited to 'src/lib/exceptions.h')
| -rw-r--r-- | src/lib/exceptions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index 09db968dc..eceafa105 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -255,6 +255,14 @@ public: {} }; +class MetadataError : public std::runtime_error +{ +public: + explicit MetadataError (std::string s) + : std::runtime_error (s) + {} +}; + class OldFormatError : public std::runtime_error { public: |
