Exception: GrpcKit::Errors::ResourceExhausted

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

Returns a new instance of ResourceExhausted.

Parameters:

  • message (String)


92
93
94
# File 'lib/grpc_kit/errors.rb', line 92

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