Exception: GrpcKit::Errors::AlreadyExists

Inherits:
BadStatus
  • Object
show all
Defined in:
lib/grpc_kit/errors.rb

Instance Attribute Summary

Attributes inherited from BadStatus

#code, #reason

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ AlreadyExists

Returns a new instance of AlreadyExists.

Parameters:

  • message (String)


78
79
80
# File 'lib/grpc_kit/errors.rb', line 78

def initialize(message)
  super(GrpcKit::StatusCodes::ALREADY_EXISTS, message)
end