From ac64bef87f5c0b3d23be59de984fd93eb7f2378f Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Tue, 19 May 2015 00:28:55 +0300 Subject: Notify failures when loading tiles --- 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 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) {} +}; + } } -- cgit v1.2.1