Exception: Socket::ResolutionError
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
::SocketError,
::StandardError,
Exception
|
|
|
Instance Chain:
self,
::SocketError,
::StandardError,
Exception
|
|
| Inherits: |
SocketError
|
| Defined in: | ext/socket/init.c |
Overview
ResolutionError is the error class for socket name resolution.
Instance Method Summary
-
#error_code ⇒ Integer
Returns the raw error code occurred at name resolution.
Instance Method Details
#error_code ⇒ Integer
Returns the raw error code occurred at name resolution.
# File 'ext/socket/init.c', line 787
static VALUE
sock_resolv_error_code(VALUE self)
{
return rb_attr_get(self, id_error_code);
}