Sha256: 31b148912fce4209124554a61e225cabed4125ad697e0104f97f04015760b377

Contents?: true

Size: 912 Bytes

Versions: 67

Compression:

Stored size: 912 Bytes

Contents

#
# compat.rb -- cross platform compatibility
#
# Author: IPR -- Internet Programming with Ruby -- writers
# Copyright (c) 2002 GOTOU Yuuzou
# Copyright (c) 2002 Internet Programming with Ruby writers. All rights
# reserved.
#
# $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $

##
# 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
  ##
  # Protocol error.

  class EPROTO       < SystemCallError; end

  ##
  # Remote host reset the connection request.

  class ECONNRESET   < SystemCallError; end

  ##
  # Client sent TCP reset (RST) before server has accepted the connection
  # requested by client.

  class ECONNABORTED < SystemCallError; end
end

Version data entries

67 entries across 39 versions & 3 rubygems

Version Path
rb2exe-0.1.43 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.40 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.39 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.38 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.29 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.14 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb
rb2exe-0.1.12 bin/traveling-ruby-2.2.2/lib/ruby/2.2.0/webrick/compat.rb