Module:Protect/doc

From Path of Exile Wiki
Revision as of 02:54, 5 December 2021 by KickahaOta (talk | contribs) (Imported from Wikipedia)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This subpage provides documentation for Module:Protect.

This module was adapted from Module:Protect/doc on Wikipedia.
Adaptation is noted for reference and attribution only. This module may differ from the original in function or in usage.

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

{{#invoke:Protect|function_name}}