Exception: Socket::ResolutionError

Inherits:
SocketError
  • Object
show all
Defined in:
init.c

Instance Method Summary collapse

Instance Method Details

#error_codeInteger

Returns the raw error code occurred at name resolution.

Returns:

  • (Integer)


787
788
789
790
791
# File 'init.c', line 787

static VALUE
sock_resolv_error_code(VALUE self)
{
    return rb_attr_get(self, id_error_code);
}