Manual:$wgExceptionHooks/de

Details
Hooks that are used for outputting exceptions. Format ist:

oder:

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