5 #include <hilti/ast/operators/common.h> 6 #include <hilti/ast/types/exception.h> 10 BEGIN_CTOR(exception, Ctor)
11 auto ctorType()
const {
return type::Exception(type::Wildcard()); }
13 const auto& signature()
const {
14 static auto _signature = Signature{.args = {{
"msg", type::String()}}, .doc = R
"( 15 Instantiates an instance of the exception type carrying the error message *msg*. 21 BEGIN_METHOD(exception, Description)
22 const auto& signature()
const {
23 static auto _signature = Signature{.self = type::Exception(type::Wildcard()),
24 .result = type::String(),
28 Returns the textual message associated with an exception object. Definition: operator-registry.h:15