/** --------------------------------------------------------------------------- * -*- c++ -*- * @file: exception.h * * Copyright (c) 2017 Yann Herklotz Grave * MIT License, see LICENSE file for more details. * ---------------------------------------------------------------------------- */ #pragma once #include #include namespace yage { class FileLoadException : public std::runtime_error { public: FileLoadException(std::string err); virtual const char *what() const throw(); private: std::string err_msg; }; } // namespace yage