Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Documentation: Difference between revisions

Content added Content deleted
(use the cfg key only with formatMessage in order to generate more descriptive error messages)
(set the proper error level for formatMessage, although it looks like it doesn't work because of the upvalues)
Line 37:
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('formatMessage: no value found for key $' .. match .. ' in message cfg.' .. cfgKey, 24)
end
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.