Handbuch:$wgExceptionHooks
Appearance
Diese Funktion wurde in der Version 1.30.0 vollständig entfernt. |
| Erweiterungen: $wgExceptionHooks | |
|---|---|
| Hooks that are used for outputting exceptions. |
|
| Eingeführt in Version: | 1.12.0 (r29444) |
| Entfernt in Version: | 1.30.0 (Gerrit change 355060; git #I85844a2) |
| Erlaubte Werte: | (array of callbacks) |
| Standardwert: | [] |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
Details
Hooks that are used for outputting exceptions. Format ist:
$wgExceptionHooks['MWException'][] = $funcname;
oder:
$wgExceptionHooks['MWException'][] = array( $class, $funcname /*, extra args... */ );
Hooks receive the exception object as their first argument and should return strings or false.