Exception: Protobuf::Rpc::BadRequestProto

Inherits:
PbError
  • Object
show all
Defined in:
lib/protobuf/rpc/error/server_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 = 'Request is of wrong type') ⇒ BadRequestProto

Returns a new instance of BadRequestProto.



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

def initialize message='Request is of wrong type'
  super message, 'BAD_REQUEST_PROTO'
end