From 1db9d8ecf28f401bf5497c6a7c40a40ea1189f37 Mon Sep 17 00:00:00 2001 From: Sandor Szuecs Date: Sun, 15 May 2011 17:28:45 +0200 Subject: [PATCH 1/2] doc for webrick Errno Signed-off-by: Sandor Szuecs --- lib/webrick/compat.rb | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/lib/webrick/compat.rb b/lib/webrick/compat.rb index ad7760b..202c310 100644 --- a/lib/webrick/compat.rb +++ b/lib/webrick/compat.rb @@ -9,7 +9,19 @@ # $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $ module Errno + ## + # Protocol error. + class EPROTO < SystemCallError; end + + ## + # Remote host reset the connection request. + class ECONNRESET < SystemCallError; end + + ## + # Client send RST before server has accepted the connection + # requested by client. + class ECONNABORTED < SystemCallError; end end -- 1.7.5.1