Notify failures when loading the source JSON

This commit is contained in:
Thiago Marcos P. Santos
2015-05-19 01:42:13 +03:00
parent da81211fea
commit 90fd06762c
5 changed files with 29 additions and 2 deletions

View File

@@ -21,6 +21,11 @@ struct ShaderException : Exception {
inline ShaderException(const std::string &msg) : Exception(msg) {}
};
struct SourceLoadingException : Exception {
inline SourceLoadingException(const char *msg) : Exception(msg) {}
inline SourceLoadingException(const std::string &msg) : Exception(msg) {}
};
}
}