MediaWiki  master
LogExceptionHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use ErrorException;
6 use Exception;
7 
15 interface LogExceptionHook {
29  public function onLogException( $e, $suppressed );
30 }
This is a hook handler interface, see docs/Hooks.md.
onLogException( $e, $suppressed)
This hook is called before an exception (or PHP error) is logged.