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.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp
index 46de8528c7..a9804e96c5 100644
--- a/include/mbgl/util/exception.hpp
+++ b/include/mbgl/util/exception.hpp
@@ -20,5 +20,20 @@ struct MisuseException : Exception {
MisuseException(const std::string &msg) : Exception(msg) {}
};
+struct StyleParseException : Exception {
+ StyleParseException(const char *msg) : Exception(msg) {}
+ StyleParseException(const std::string &msg) : Exception(msg) {}
+};
+
+struct StyleLoadException : Exception {
+ StyleLoadException(const char *msg) : Exception(msg) {}
+ StyleLoadException(const std::string &msg) : Exception(msg) {}
+};
+
+struct NotFoundException : Exception {
+ NotFoundException(const char *msg) : Exception(msg) {}
+ NotFoundException(const std::string &msg) : Exception(msg) {}
+};
+
} // namespace util
} // namespace mbgl