summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.2/sig/compat.rbs
blob: 8d5b7451963ae4deaeaa2ed776093c493043f84a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# System call error module used by webrick for cross platform compatibility.
#
# EPROTO:: protocol error
# ECONNRESET:: remote host reset the connection request
# ECONNABORTED:: Client sent TCP reset (RST) before server has accepted the
#                connection requested by client.
#
module Errno
  class EPROTO < SystemCallError
  end

  class ECONNRESET < SystemCallError
  end

  class ECONNABORTED < SystemCallError
  end
end