Exception: GrpcKit::Errors::InvalidArgument

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

Returns a new instance of InvalidArgument

Parameters:

  • message (String)

55
56
57
# File 'lib/grpc_kit/errors.rb', line 55

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