summaryrefslogtreecommitdiff
path: root/include/mbgl/util/exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/util/exception.hpp')
-rw-r--r--include/mbgl/util/exception.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp
index 7ef8ea9762..da61aa482a 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -11,6 +11,11 @@ struct Exception : std::runtime_error {
inline Exception(const std::string &msg) : std::runtime_error(msg) {}
};
+struct GlyphRangeLoadingException : Exception {
+ inline GlyphRangeLoadingException(const char *msg) : Exception(msg) {}
+ inline GlyphRangeLoadingException(const std::string &msg) : Exception(msg) {}
+};
+
struct MisuseException : Exception {
inline MisuseException(const char *msg) : Exception(msg) {}
inline MisuseException(const std::string &msg) : Exception(msg) {}