Loading src/exception.cpp +2 −2 Changes for src/exception.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -45,11 +45,11 @@ libhttppp::HTTPException::HTTPException(const HTTPException &exp){ libhttppp::HTTPException::~HTTPException(){ } int libhttppp::HTTPException::getErrorType(){ int libhttppp::HTTPException::getErrorType() const{ return _curCType; } const std::string &libhttppp::HTTPException::what(){ const std::string &libhttppp::HTTPException::what() const{ return _Msg; } Loading src/exception.h +2 −2 Changes for src/exception.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -44,8 +44,8 @@ namespace libhttppp { HTTPException(); HTTPException(const HTTPException &exp); virtual ~HTTPException(); int getErrorType(); const std::string &what(); int getErrorType() const; const std::string &what() const; HTTPException& append(const std::string &src); HTTPException& operator[](int errtype); HTTPException& operator<<(const std::string& src); Loading Loading
src/exception.cpp +2 −2 Changes for src/exception.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -45,11 +45,11 @@ libhttppp::HTTPException::HTTPException(const HTTPException &exp){ libhttppp::HTTPException::~HTTPException(){ } int libhttppp::HTTPException::getErrorType(){ int libhttppp::HTTPException::getErrorType() const{ return _curCType; } const std::string &libhttppp::HTTPException::what(){ const std::string &libhttppp::HTTPException::what() const{ return _Msg; } Loading
src/exception.h +2 −2 Changes for src/exception.h: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -44,8 +44,8 @@ namespace libhttppp { HTTPException(); HTTPException(const HTTPException &exp); virtual ~HTTPException(); int getErrorType(); const std::string &what(); int getErrorType() const; const std::string &what() const; HTTPException& append(const std::string &src); HTTPException& operator[](int errtype); HTTPException& operator<<(const std::string& src); Loading