summaryrefslogtreecommitdiff
path: root/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs')
-rw-r--r--vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs18
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs
new file mode 100644
index 0000000..8d5b745
--- /dev/null
+++ b/vendor/bundle/ruby/3.4.0/gems/webrick-1.9.1/sig/compat.rbs
@@ -0,0 +1,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