1 #include <ail/exception.hpp>
2 #include <fridh/symbol.hpp>
6 void unary_argument_type_error(std::string
const & operation
, variable_type type
)
8 throw ail::exception(operation
+ ": Invalid argument type \"" + get_type_string(type
) + "\"");
11 void binary_argument_type_error(std::string
const & operation
, variable_type left
, variable_type right
)
13 throw ail::exception(operation
+ ": Invalid argument types \"" + get_type_string(left
) + "\", \"" + get_type_string(right
));