Module:UtilsError/Documentation

A utility module for error-handling, mainly with respect to argument validation.

Unlike other utilities, this page should not be imported at the top of a module. Instead, import it only at the precise location where you use it. This is so that the module is only linked on pages that actually have errors (see Guidelines:Modules).