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 dd0199d4e3..7ef8ea9762 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -31,6 +31,11 @@ struct SpriteLoadingException : Exception {
inline SpriteLoadingException(const std::string &msg) : Exception(msg) {}
};
+struct TileLoadingException : Exception {
+ inline TileLoadingException(const char *msg) : Exception(msg) {}
+ inline TileLoadingException(const std::string &msg) : Exception(msg) {}
+};
+
}
}