Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Socket::ResolutionError#error_code
error_code → integer
ext/socket/init.c
View on GitHub ↗
static VALUE
sock_resolv_error_code(VALUE self)
{
return rb_attr_get(self, id_error_code);
}
Returns the raw error code occurred at name resolution.