Modulo:Exception/man

Da Wikiversità, l'apprendimento libero.

Questa è la pagina di documentazione per Modulo:Exception

Exception[modifica]

This module contains methods helping to work with errors in Lua scripts and thus is not intended to be used in wiki pages.

throw[modifica]

Raise an exception including the current stack trace.

Parameters[modifica]

  • [String] errorMessage: helpful message that will be the head of the error raised