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