Lines Matching defs:message
38 /// Constructs a new error with a plain-text message.
40 /// \param message The plain-text error message.
41 lutok::error::error(const std::string& message) :
42 std::runtime_error(message)
56 /// \param message The plain-text error message provided by Lua.
58 const std::string& message) :
59 error(message),
71 /// Constructs a new api_error with the message on the top of the Lua stack.
73 /// \pre There is an error message on the top of the stack.
74 /// \post The error message is popped from the stack.
79 /// \return A new api_error with the popped message.
86 const std::string message = lua_tostring(raw_state, -1);
88 return lutok::api_error(api_function_, message);