Exception: GrpcKit::Errors::DoNotUse

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) ⇒ DoNotUse

Returns a new instance of DoNotUse.

Parameters:

  • message (String)


155
156
157
# File 'lib/grpc_kit/errors.rb', line 155

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