[Groonga-commit] droonga/droonga-client-ruby at cf4fe8a [master] Remove unused error class

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 20 16:39:37 JST 2014


Kouhei Sutou	2014-01-20 16:39:37 +0900 (Mon, 20 Jan 2014)

  New Revision: cf4fe8aa6c85004a0bce39c183497b4d14978354
  https://github.com/droonga/droonga-client-ruby/commit/cf4fe8aa6c85004a0bce39c183497b4d14978354

  Message:
    Remove unused error class

  Modified files:
    lib/droonga/client/connection/error.rb

  Modified: lib/droonga/client/connection/error.rb (+0 -10)
===================================================================
--- lib/droonga/client/connection/error.rb    2014-01-20 16:38:09 +0900 (d229cf0)
+++ lib/droonga/client/connection/error.rb    2014-01-20 16:39:37 +0900 (10d6ac0)
@@ -23,16 +23,6 @@ module Droonga
       # The top error class of connection module.
       class Error < Client::Error
       end
-
-      # The error class for invalid response type is specified.
-      class InvalidResponseType < Error
-        attr_reader :type
-        def initialize(type)
-          @type = type
-          super("Unknown response type: <#{@type}>. " +
-                  "Available types: [:none, :one]")
-        end
-      end
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index