Naming the attribute `exception_handler` would be a little nicer.