Something went wrong. Try again.
An HTTP server written in C++98 projects.intra.42.fr/projects/webserv
Something went wrong. Try again.
12345678910111213141516#pragma once
#include <exception>#include <string>
class ParserExceptions : public std::exception{ private : const std::string _err;
public : ParserExceptions(const std::string &s) : _err(s) {} ~ParserExceptions() throw() {}; const char *what() const throw() {return (_err.c_str());}};