From 90fd06762c17eeb71eed69632045ae3db9f6e322 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Tue, 19 May 2015 01:42:13 +0300 Subject: Notify failures when loading the source JSON --- include/mbgl/util/exception.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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) {} +}; + } } -- cgit v1.2.1