Exception: GrpcKit::Errors::FailedPrecondition

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

Returns a new instance of FailedPrecondition.

Parameters:

  • message (String)


99
100
101
# File 'lib/grpc_kit/errors.rb', line 99

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