Manual:$wgExceptionHooks/zh

细节
Hooks that are used for outputting exceptions. Format is:

或：

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