lua/wrappers/lua_return_codes.cpp
/**
	 * @static
	 * Accepts a return code value (represented by an integer) and returns
	 * a more detailed message about that return code.
	 * 
	 * @param am.code return_code The return code to get the message for.
	 * @returns string The message associated with the given return code.
	 */
@static
Accepts a return code value (represented by an integer) and returns
a more detailed message about that return code.

@param am.code return_code The return code to get the message for.
@returns string The message associated with the given return code.
@static Accepts a return code value ( represented by an integer ) and returns a more detailed message about that return code . @param am . code return_code The return code to get the message for . @returns string The message associated with the given return code .
inline int ReturnCodes_message(lua_State *lua)
	{
		if (lua_isnum(lua, 1))
		{
			if (lua_gettop(lua) == 1)
			{
				lua_pushstring(lua, getErrorMessage(static_cast<base::ReturnCode>(lua_tointeger(lua, 1))));
				return 1;
			}
			else if (lua_isstr(lua, 2))
			{
			}
		}
		return LuaState::expectedArgs(lua, "message", "am.code code_value");
	}
inline int ReturnCodes_message ( lua_State * lua ) { if ( lua_isnum ( lua , 1 ) ) { if ( lua_gettop ( lua ) == 1 ) { lua_pushstring ( lua , getErrorMessage ( static_cast < base :: ReturnCode > ( lua_tointeger ( lua , 1 ) ) ) ) ; return 1 ; } else if ( lua_isstr ( lua , 2 ) ) { } } return LuaState :: expectedArgs ( lua , " " , " " ) ; }
@static
 Accepts a return code value (represented by an integer) and returns
 a more detailed message about that return code.
@static Accepts a return code value ( represented by an integer ) and returns a more detailed message about that return code .
// Add a new error message. // Maybe