From https://github.com/sporkmonger/addressable/blob/addressable-2.5.0/lib/addressable/idna/pure.rb#L378-L383
I think all these cases was previously covered by twingly-url rescueing IDN::Idna::IdnaError, which was removed in 057f675 when we dropped use of libidn.