Exception: GRPC::Unavailable
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/lib/grpc/errors.rb
Overview
GRPC status code corresponding to status UNAVAILABLE
Constant Summary
Constants included from Core::StatusCodes
Core::StatusCodes::ABORTED, Core::StatusCodes::ALREADY_EXISTS, Core::StatusCodes::CANCELLED, Core::StatusCodes::DATA_LOSS, Core::StatusCodes::DEADLINE_EXCEEDED, Core::StatusCodes::FAILED_PRECONDITION, Core::StatusCodes::INTERNAL, Core::StatusCodes::INVALID_ARGUMENT, Core::StatusCodes::NOT_FOUND, Core::StatusCodes::OK, Core::StatusCodes::OUT_OF_RANGE, Core::StatusCodes::PERMISSION_DENIED, Core::StatusCodes::RESOURCE_EXHAUSTED, Core::StatusCodes::UNAUTHENTICATED, Core::StatusCodes::UNAVAILABLE, Core::StatusCodes::UNIMPLEMENTED, Core::StatusCodes::UNKNOWN
Instance Attribute Summary
Attributes inherited from BadStatus
#code, #debug_error_string, #details, #metadata
Instance Method Summary collapse
-
#initialize(details = 'unknown cause', metadata = {}, debug_error_string = nil) ⇒ Unavailable
constructor
A new instance of Unavailable.
Methods inherited from BadStatus
new_status_exception, #to_rpc_status, #to_status
Constructor Details
#initialize(details = 'unknown cause', metadata = {}, debug_error_string = nil) ⇒ Unavailable
Returns a new instance of Unavailable.
260 261 262 263 264 265 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/src/ruby/lib/grpc/errors.rb', line 260 def initialize(details = 'unknown cause', = {}, debug_error_string = nil) super(Core::StatusCodes::UNAVAILABLE, details, , debug_error_string) end |