Manual:$wgExceptionHooks/tr
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.30.0</tvar>.</translate> |
<translate> Extensions</translate>: $wgExceptionHooks | |
---|---|
Hooks that are used for outputting exceptions. |
|
<translate> Introduced in version:</translate> | 1.12.0 (r29444) |
<translate> Removed in version:</translate> | 1.30.0 (Gerrit change 355060; git #I85844a2) |
<translate> Allowed values:</translate> | (array of callbacks) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Ayrıntılar
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.