Manual:$wgExceptionHooks/de-formal

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

$wgExceptionHooks['MWException'][] = $funcname;

or:

$wgExceptionHooks['MWException'][] = array( $class, $funcname /*, extra args... */ );

Hooks receive the exception object as their first argument and should return strings or false.