Exception: GrpcKit::Errors::Unknown

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

Returns a new instance of Unknown.

Parameters:

  • message (String)


50
51
52
# File 'lib/grpc_kit/errors.rb', line 50

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