Manual:Hooks/ApiMain::onException

Details
Called by  when an exception is thrown during API action execution.


 * $apiMain: Calling ApiMain instance.
 * $e: Exception object.