class Protobuf::Rpc::BadRequestProto

Public Class Methods

new(message = 'Request is of wrong type') click to toggle source
Calls superclass method Protobuf::Rpc::PbError.new
# File lib/protobuf/rpc/error/server_error.rb, line 13
def initialize(message = 'Request is of wrong type')
  super message, 'BAD_REQUEST_PROTO'
end