|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

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.
Implemented in MediaWiki\Api\ApiHookRunner.