Exception: GrpcKit::Errors::Cancelled

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

Returns a new instance of Cancelled.

Parameters:

  • message (String)


43
44
45
# File 'lib/grpc_kit/errors.rb', line 43

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