core/errno.rbs in rbs-2.0.0 vs core/errno.rbs in rbs-2.1.0
- old
+ new
@@ -1,5 +1,6 @@
+# <!-- rdoc-file=error.c -->
# Ruby exception objects are subclasses of Exception. However, operating
# systems typically report errors using plain integers. Module Errno is created
# dynamically to map these operating system errors to Ruby classes, with each
# error number generating its own subclass of SystemCallError. As the subclass
# is created in module Errno, its name will start `Errno::`.
@@ -17,19 +18,9 @@
#
# The full list of operating system errors on your particular platform are
# available as the constants of Errno.
#
# Errno.constants #=> :E2BIG, :EACCES, :EADDRINUSE, :EADDRNOTAVAIL, ...
-# 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
end
class Errno::E2BIG < SystemCallError