Module:Fail: Difference between revisions

move documentation out of code
(Created page with "-- Raise an error unconditionally. Potentially useful for debugging complex -- template logic. local Fail = {} function Fail.fail(frame) assert(false, 'A script error was triggered on purpose') end return Fail")
 
(move documentation out of code)
Line 1: Line 1:
-- Raise an error unconditionally. Potentially useful for debugging complex
-- template logic.
local Fail = {}
local Fail = {}