Exception: GrpcKit::Errors::Unavailable

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

Returns a new instance of Unavailable

Parameters:

  • message (String)

132
133
134
# File 'lib/grpc_kit/errors.rb', line 132

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