Exception: Droonga::Client::Connection::UnknownBackendError
Instance Attribute Summary collapse
-
#backend ⇒ Object
readonly
Returns the value of attribute backend.
-
#protocol ⇒ Object
readonly
Returns the value of attribute protocol.
Instance Method Summary collapse
-
#initialize(protocol, backend, detail) ⇒ UnknownBackendError
constructor
A new instance of UnknownBackendError.
Constructor Details
#initialize(protocol, backend, detail) ⇒ UnknownBackendError
Returns a new instance of UnknownBackendError.
30 31 32 33 34 |
# File 'lib/droonga/client/connection/error.rb', line 30 def initialize(protocol, backend, detail) @protocol = protocol @backend = backend super("Unknown #{@protocol} backend: <#{backend}>: #{detail}") end |
Instance Attribute Details
#backend ⇒ Object (readonly)
Returns the value of attribute backend.
29 30 31 |
# File 'lib/droonga/client/connection/error.rb', line 29 def backend @backend end |
#protocol ⇒ Object (readonly)
Returns the value of attribute protocol.
28 29 30 |
# File 'lib/droonga/client/connection/error.rb', line 28 def protocol @protocol end |