From 7274d2e195b419babbc8c10e99af4f6d7803195f Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Tue, 19 May 2015 00:12:34 +0300 Subject: Notify failures when loading the sprite JSON and image --- include/mbgl/util/exception.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/mbgl/util/exception.hpp') diff --git a/include/mbgl/util/exception.hpp b/include/mbgl/util/exception.hpp index 050e56da38..dd0199d4e3 100644 --- a/include/mbgl/util/exception.hpp +++ b/include/mbgl/util/exception.hpp @@ -26,6 +26,11 @@ struct SourceLoadingException : Exception { inline SourceLoadingException(const std::string &msg) : Exception(msg) {} }; +struct SpriteLoadingException : Exception { + inline SpriteLoadingException(const char *msg) : Exception(msg) {} + inline SpriteLoadingException(const std::string &msg) : Exception(msg) {} +}; + } } -- cgit v1.2.1