Error

From Base de connaissances eggdrops & TCL
Revision as of 21:02, 28 November 2007 by CrazyCat (talk | contribs) (Description)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

error - Genère une erreur

Syntaxe

error message ?info? ?code?

Description

errorInfo

catch {...} errMsg set savedInfo $errorInfo ... error $errMsg $savedInfo

Si l'argument code est présent, alors sa valeur est stockée dans la variable globale errorCode

Voir également

return, catch