Manual:$wgExceptionHooks/pt-br

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

or:

Hooks should return strings or false.