Exception: Protobuf::Rpc::InvalidRequestProto

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 = 'Invalid request type given') ⇒ InvalidRequestProto

Returns a new instance of InvalidRequestProto.



7
8
9
# File 'lib/protobuf/rpc/error/client_error.rb', line 7

def initialize message='Invalid request type given'
  super message, 'INVALID_REQUEST_PROTO'
end