diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-19 00:28:55 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-22 10:44:18 +0300 |
commit | ac64bef87f5c0b3d23be59de984fd93eb7f2378f (patch) | |
tree | fadbdf96d5b0f9e6c64f1fefbc2a7f3e7e4d4a12 /include | |
parent | 7274d2e195b419babbc8c10e99af4f6d7803195f (diff) | |
download | qtlocation-mapboxgl-ac64bef87f5c0b3d23be59de984fd93eb7f2378f.tar.gz |
Notify failures when loading tiles
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/util/exception.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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) {} +}; + } } |