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)


134
135
136
# File 'lib/grpc_kit/errors.rb', line 134

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