[Groonga-commit] droonga/fluent-plugin-droonga at 27c23dd [master] Define UnknownSource error as a NotFound type error

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 18:30:06 JST 2013


YUKI Hiroshi	2013-12-26 18:30:06 +0900 (Thu, 26 Dec 2013)

  New Revision: 27c23dd23da3e9ab367934b8c1bbcf3b9602f3a3
  https://github.com/droonga/fluent-plugin-droonga/commit/27c23dd23da3e9ab367934b8c1bbcf3b9602f3a3

  Message:
    Define UnknownSource error as a NotFound type error

  Modified files:
    lib/droonga/searcher.rb

  Modified: lib/droonga/searcher.rb (+1 -1)
===================================================================
--- lib/droonga/searcher.rb    2013-12-26 18:28:47 +0900 (c6004fe)
+++ lib/droonga/searcher.rb    2013-12-26 18:30:06 +0900 (6d7bc80)
@@ -21,7 +21,7 @@ require "groonga"
 
 module Droonga
   class Searcher
-    class UnknownSource < BadRequest
+    class UnknownSource < NotFound
       def initialize(source, queries)
         super("The source #{source.inspect} does not exist. " +
                 "It must be a name of an existing table or another query.",
-------------- next part --------------
HTML����������������������������...
下载 



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