docs($exceptionHandler): add an example of overriding the handler

Closes #3816