mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
Merge remote-tracking branch 'origin/fara' into roman
This commit is contained in:
0
src/config/ConfigException.cpp
Normal file
0
src/config/ConfigException.cpp
Normal file
17
src/config/ConfigException.hpp
Normal file
17
src/config/ConfigException.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef CONFIGEXCEPTION_HPP
|
||||
#define CONFIGEXCEPTION_HPP
|
||||
|
||||
#include "webserv.hpp"
|
||||
|
||||
class ConfigException
|
||||
{
|
||||
private:
|
||||
std::string _msg;
|
||||
public:
|
||||
ConfigException(std::string const &str) : _msg(str){}
|
||||
~ConfigException(){}
|
||||
std::string getMessage() const {return (_msg);}
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user