Anonymous user
Module:Documentation: Difference between revisions
make the formatMessage error message more informative, at the risk of including long cfg messages in the error message
(split the cfg table to Module:Documentation/config) |
(make the formatMessage error message more informative, at the risk of including long cfg messages in the error message) |
||
Line 35:
local function getMessageVal(match)
match = tonumber(match)
return valArray[match] or error('formatMessage: No value found for key $' .. match .. '. Message was "' .. msg .. '"',
end
|