bd016f45_Manual_Hooks___MediaWiki__Description
[Version] 1.2001.20.0 [Hook] ApiMain::onException [Called From] ApiMain.php [Description] 
Called by ApiMain::executeActionWithErrorHandling() when an exception is thrown during API action execution.
Manual:Hooks - MediaWiki
Description