Toggle menu
15
236
70
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Protect/doc: Revision history

From Kenshi Wiki

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

10 March 2025

8 March 2025

2 March 2025

15 February 2025

  • curprev 22:4422:44, 15 February 2025 Prd talk contribs 1,782 bytes +1,782 Created page with "{{Module rating|protected}} {{used in system}} This metamodule simplifies error handling in other modules. It transforms a function, which may throw an error, into a function, which returns a specified error message in that case. == Usage == <syntaxhighlight lang="lua"> local protect = require('Module:Protect') local protectedFunc = protect(func, errFormat, options) </syntaxhighlight> === Arguments === * ''{{code|func}}'' *: Function to be tr..."