Exception: Droonga::Client::Connection::UnknownBackendError

Inherits:
Error
  • Object
show all
Defined in:
lib/droonga/client/connection/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#backendObject (readonly)

Returns the value of attribute backend.



29
30
31
# File 'lib/droonga/client/connection/error.rb', line 29

def backend
  @backend
end

#protocolObject (readonly)

Returns the value of attribute protocol.



28
29
30
# File 'lib/droonga/client/connection/error.rb', line 28

def protocol
  @protocol
end