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)

76
77
78
# File 'lib/grpc_kit/errors.rb', line 76

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