File: compat.rbs

package info (click to toggle)
ruby-webrick 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 756 kB
  • sloc: ruby: 7,781; sh: 4; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (2)
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