diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-19 00:12:34 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-22 10:44:18 +0300 |
commit | 7274d2e195b419babbc8c10e99af4f6d7803195f (patch) | |
tree | e5d003958fa84bc50f45d192a28658f8ef6e16dd /include/mbgl/util/exception.hpp | |
parent | 90fd06762c17eeb71eed69632045ae3db9f6e322 (diff) | |
download | qtlocation-mapboxgl-7274d2e195b419babbc8c10e99af4f6d7803195f.tar.gz |
Notify failures when loading the sprite JSON and image
Diffstat (limited to 'include/mbgl/util/exception.hpp')
-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 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) {} +}; + } } |