Add an exception printer for `getaddrinfo-error'.