Exception: Protobuf::Rpc::BadResponseProto

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 = 'Bad response type from server') ⇒ BadResponseProto

Returns a new instance of BadResponseProto.



13
14
15
# File 'lib/protobuf/rpc/error/client_error.rb', line 13

def initialize message='Bad response type from server'
  super message, 'BAD_RESPONSE_PROTO'
end