Exception: GRPC::ResourceExhausted
- Defined in:
- src/ruby/lib/grpc/errors.rb
Overview
GRPC status code corresponding to status RESOURCE_EXHAUSTED
Instance Attribute Summary
Attributes inherited from BadStatus
Instance Method Summary collapse
-
#initialize(details = 'unknown cause', metadata = {}) ⇒ ResourceExhausted
constructor
A new instance of ResourceExhausted.
Methods inherited from BadStatus
new_status_exception, #to_status
Constructor Details
#initialize(details = 'unknown cause', metadata = {}) ⇒ ResourceExhausted
Returns a new instance of ResourceExhausted.
162 163 164 |
# File 'src/ruby/lib/grpc/errors.rb', line 162 def initialize(details = 'unknown cause', = {}) super(Core::StatusCodes::RESOURCE_EXHAUSTED, details, ) end |