Manual:$wgExceptionHooks/pt-br

Detalhes
Hooks that are used for outputting exceptions. Format is:

ou:

Hooks should return strings or false.