Manual:$wgExceptionHooks
Appearance
Bu özellik, 1.30.0 sürümünde tamamen kaldırıldı. |
| Uzantılar: $wgExceptionHooks | |
|---|---|
| Hooks that are used for outputting exceptions. |
|
| Sürümde tanıtıldı: | 1.12.0 (r29444) |
| Sürümde kaldırıldı: | 1.30.0 (Gerrit change 355060; git #I85844a2) |
| İzin verilen değerler: | (array of callbacks) |
| Varsayılan değer: | [] |
| Diğer ayarlar: Alfabetik | İşlevsel olarak | |
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.