Exception: Protobuf::Rpc::BadRequestData

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 = 'Unable to parse request') ⇒ BadRequestData

Returns a new instance of BadRequestData.



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

def initialize message='Unable to parse request'
  super message, 'BAD_REQUEST_DATA'
end