first commit 1437_31102025

This commit is contained in:
2025-10-31 14:38:00 +07:00
commit 0cd8217bc5
71 changed files with 6160 additions and 0 deletions

22
include/robot/exception.h Normal file
View File

@@ -0,0 +1,22 @@
/*********************************************************************
* Minimal exception type compatible with existing code.
*********************************************************************/
#ifndef ROBOT_MINIMAL_EXCEPTION_H
#define ROBOT_MINIMAL_EXCEPTION_H
#include <stdexcept>
#include <string>
namespace robot {
class Exception : public std::runtime_error {
public:
explicit Exception(const std::string& what_arg)
: std::runtime_error(what_arg) {}
};
} // namespace robot
#endif // ROBOT_MINIMAL_EXCEPTION_H