Exception: GrpcKit::Errors::DataLoss

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

Returns a new instance of DataLoss.

Parameters:

  • message (String)


141
142
143
# File 'lib/grpc_kit/errors.rb', line 141

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