MException.last
Renvoie ou efface la derniere MException non interceptee.
πŸ“Syntaxe
exception = MException.last
MException.last('reset')
πŸ“€Arguments de sortie
Paramètre Description
exception un objet MException.
πŸ“„Description

MException.last renvoie la derniere exception non interceptee enregistree par l'evaluateur. Les exceptions traitees par un bloc catch ne la modifient pas.

MException.last('reset') efface l'exception enregistree.

πŸ’‘Exemples
MException.last('reset');
exception = MException.last
πŸ”—Voir aussi
MExceptionlasterrorgetLastReport
πŸ•”Historique des versions
Version Description
2.0.0 version initiale
Modifier cette page sur GitHub