SuperSpaceInvaderTurboApoca.../headers/errors.h
2022-01-12 22:22:01 +01:00

27 lines
453 B
C++

/*!
*
* @file configData.h
* @author RUBINI Thomas
* @date January 2022
* @version 1.0
* @brief error handling
*
*/
#ifndef GUARD_ERRORS_H
#define GUARD_ERRORS_H
#include<string>
#include<stdexcept>
/*!
* @class config_error
* @brief Simple clone of runtime_error to help us handle errors in config management.
*/
class config_error : public std::runtime_error {
public:
explicit config_error(const std::string& msg);
};
#endif