Handbuch:$wgExceptionHooks

This page is a translated version of the page Manual:$wgExceptionHooks and the translation is 50% complete.
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:[]

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.