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 0b4403270c..050e56da38 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -21,6 +21,11 @@ struct ShaderException : Exception {
inline ShaderException(const std::string &msg) : Exception(msg) {}
};
+struct SourceLoadingException : Exception {
+ inline SourceLoadingException(const char *msg) : Exception(msg) {}
+ inline SourceLoadingException(const std::string &msg) : Exception(msg) {}
+};
+
}
}