Module:Protect/doc: Revision history

From The Kodiak Republic 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.

12 January 2023

  • curprev 14:1614:16, 12 January 2023Silmjlc 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..."
Cookies help us deliver our services. By using our services, you agree to our use of cookies.