put typedvalues initialization into cpp

Signed-off-by: Jinjie Liu <jjliu@baai.ac.cn>
This commit is contained in:
2026-01-30 01:38:58 +08:00
parent bdc9c03b75
commit a953cbe7cc
10 changed files with 92 additions and 47 deletions
+9
View File
@@ -25,6 +25,15 @@ private:
const std::string message_;
};
class UnmatchedArgumentException : public std::exception {
public:
UnmatchedArgumentException(std::string_view name, size_t len, size_t expect);
const char *what() const noexcept override;
private:
const std::string message_;
};
class UnknownTypeException : public std::exception {
public:
UnknownTypeException(Type type);