MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\Api\ApiHookRunner.
Public Member Functions | |
onApiMain__onException ( $apiMain, $e) | |
This hook is called by ApiMain::executeActionWithErrorHandling() when an exception is thrown during API action execution. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "ApiMain::onException" to register handlers implementing this interface.
Definition at line 16 of file ApiMain__onExceptionHook.php.
MediaWiki\Api\Hook\ApiMain__onExceptionHook::onApiMain__onException | ( | $apiMain, | |
$e ) |
This hook is called by ApiMain::executeActionWithErrorHandling() when an exception is thrown during API action execution.
ApiMain | $apiMain | Calling ApiMain instance |
Throwable | $e |
Implemented in MediaWiki\Api\ApiHookRunner.