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.



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

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