throwAsCaller

Lancer une exception comme si elle se produisait dans la fonction appelante.

📝 Syntaxe

  • throwAsCaller(MException)

📥 Argument d'entrée

  • MException - objet MException

📄 Description

Elle lance une exception comme si elle se produisait dans la fonction appelante.

💡 Exemple


function test_throwAsCaller()
  ME = MException('n:m', 'your error')
  throwAsCaller(ME)

🔗 Voir aussi

MException, rethrow, throw.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?