5 #include <hilti/ast/operators/common.h> 6 #include <hilti/ast/types/error.h> 10 STANDARD_KEYWORD_CTOR(error, Ctor,
"error", type::Error(), type::String(),
"Creates an error with the given message.");
12 BEGIN_METHOD(error, Description)
13 const auto& signature()
const {
14 static auto _signature = Signature{.self = type::Error(),
15 .result = type::String(),
18 .doc =
"Retrieves the textual description associated with the error."};
Definition: operator-registry.h:15