修了些bug

This commit is contained in:
2024-12-05 01:35:52 +08:00
parent 238975f638
commit b0f712fa4a
4 changed files with 6 additions and 4 deletions
@@ -11,7 +11,7 @@ private:
public:
NodeIdOutOfRangeException():message("You input id is out of range"){}
NodeIdOutOfRangeException(const std::string& msg) : message(msg) {}
NodeIdOutOfRangeException(const std::string& msg,int errCode):message(msg+"Err code: "+std::to_string(errCode)){}
NodeIdOutOfRangeException(const std::string& msg,int errCode):message(msg+" Err code: "+std::to_string(errCode)){}
virtual ~NodeIdOutOfRangeException() noexcept {}
virtual const char* what() const noexcept override {