Exception: GRPC::GenericService::DuplicateRpcName

Inherits:
StandardError
  • Object
show all
Defined in:
src/ruby/lib/grpc/generic/service.rb

Overview

Used to indicate that a name has already been specified

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateRpcName

Returns a new instance of DuplicateRpcName.



44
45
46
# File 'src/ruby/lib/grpc/generic/service.rb', line 44

def initialize(name)
  super("rpc (#{name}) is already defined")
end