/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Errors.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: mmoussou #include #include namespace webserv { namespace http { /* * DOES NOT WORK * still need to do uh things but base is done at least :D */ class Errors { public: static http::Response &getRequest(int error_code); static void setEntry(const std::string &key, int value); static std::map message; private: static std::map populateMessages(); static std::map set_error_pages; }; } // -namespace http } // -namespace webserv #endif // __WEBSERV_REQUESTS_ERRORS_HPP__