Refactor Socket::Addrinfo::Error
based on os_error
#10761
Merged
Socket::Addrinfo::Error
based on os_error
#10761