Exception: Winhttp::OSError
- Defined in:
- lib/winhttp.rb,
ext/winhttp/winhttp.c
Overview
A WinHTTP/Win32 failure carries the originating error code (Integer, or nil
for a Ruby-side timeout: deadline), set on the exception in C / by the
state machine.
Direct Known Subclasses
Canceled, ConnectError, ProtocolError, RedirectError, ResolveError, TimeoutError, TlsError
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
37 38 39 |
# File 'lib/winhttp.rb', line 37 def code @code end |