class

Socket::Addrinfo::Error

Inherits Socket::Error / IO::Error / SystemError / Exception / Reference / Object

Constructors

new(error_code : Int32, message, domain)

DEPRECATED Use .from_os_error instead

Source
new(error_code : Int32, domain)

DEPRECATED Use .from_os_error instead

Source

Class methods

build_message(message, *, domain, **opts)
Source
os_error_message(os_error : Errno | WinError, *, type, service, protocol, **opts)
Source

Instance methods

error_code

DEPRECATED Use #os_error instead

Source