Модул:Arguments — разлика између измена

Садржај обрисан Садржај додат
Нова страница: -- This module provides easy processing of arguments passed to Scribunto from -- #invoke. It is intended for use by other Lua modules, and should NOT be -- called from…
 
мНема описа измене
 
Ред 1:
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should NOTnot be
-- called from #invoke directly.
 
Ред 167:
if type(tidyVal) ~= 'function' then
error(
"badнеприхватљива valueвредност assignedдата to optionопцији 'valueFunc'"
.. '(functionочекивана expectedфункција, gotдобијено '
.. type(tidyVal)
.. ')',
Ред 270:
if options.readOnly then
error(
'couldније notбило writeмогуће toизвршити унос у argument table key "'
.. tostring(key)
.. '"; theтабела table isје read-only',
2
)
elseif options.noOverwrite and args[key] ~= nil then
error(
'couldније notбило writeмогуће toизвршити унос у argument table key "'
.. tostring(key)
.. '"; преписивање постојећих аргумената није дозвољено',
.. '"; overwriting existing arguments is not permitted',
2
)