Exception: Protobuf::Rpc::UnkownHost

Inherits:
PbError
  • Object
show all
Defined in:
lib/protobuf/rpc/error/client_error.rb

Instance Attribute Summary

Attributes inherited from PbError

#error_type

Instance Method Summary collapse

Methods inherited from PbError

#to_response

Constructor Details

#initialize(message = 'Unknown host or port') ⇒ UnkownHost

Returns a new instance of UnkownHost.



19
20
21
# File 'lib/protobuf/rpc/error/client_error.rb', line 19

def initialize message='Unknown host or port'
  super message, 'UNKNOWN_HOST'
end