MediaWiki
REL1_39
ApiMain__onExceptionHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Api\Hook
;
4
5
// phpcs:disable Squiz.Classes.ValidClassName.NotCamelCaps
6
use
ApiMain
;
7
use Throwable;
8
16
interface
ApiMain__onExceptionHook
{
27
public
function
onApiMain__onException
( $apiMain, $e );
28
}
ApiMain
This is the main API class, used for both external and internal processing.
Definition
ApiMain.php:52
MediaWiki\Api\Hook\ApiMain__onExceptionHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ApiMain__onExceptionHook.php:16
MediaWiki\Api\Hook\ApiMain__onExceptionHook\onApiMain__onException
onApiMain__onException( $apiMain, $e)
This hook is called by ApiMain::executeActionWithErrorHandling() when an exception is thrown during A...
MediaWiki\Api\Hook
Definition
APIAfterExecuteHook.php:3
includes
api
Hook
ApiMain__onExceptionHook.php
Generated on Thu Nov 21 2024 05:22:27 for MediaWiki by
1.10.0