diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-19 00:38:10 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-05-22 10:44:18 +0300 |
commit | ee9b172152c7e462f2c204ea7b85c3cc4bd04582 (patch) | |
tree | a28556dcb66e64ee43f373743934b91650586049 /include | |
parent | ac64bef87f5c0b3d23be59de984fd93eb7f2378f (diff) | |
download | qtlocation-mapboxgl-ee9b172152c7e462f2c204ea7b85c3cc4bd04582.tar.gz |
Notify failures when loading glyphs
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 7ef8ea9762..da61aa482a 100644 --- a/include/mbgl/util/exception.hpp +++ b/include/mbgl/util/exception.hpp @@ -11,6 +11,11 @@ struct Exception : std::runtime_error { inline Exception(const std::string &msg) : std::runtime_error(msg) {} }; +struct GlyphRangeLoadingException : Exception { + inline GlyphRangeLoadingException(const char *msg) : Exception(msg) {} + inline GlyphRangeLoadingException(const std::string &msg) : Exception(msg) {} +}; + struct MisuseException : Exception { inline MisuseException(const char *msg) : Exception(msg) {} inline MisuseException(const std::string &msg) : Exception(msg) {} |