Class: Momento::Error::TransportDetails
- Inherits:
-
Object
- Object
- Momento::Error::TransportDetails
- Defined in:
- lib/momento/error/transport_details.rb
Overview
A class to capture information specific to particular transport layers.
Instance Attribute Summary collapse
-
#grpc ⇒ Momento::Error::GrpcDetails
readonly
Details specific to GRPC.
Instance Method Summary collapse
-
#initialize(grpc:) ⇒ TransportDetails
constructor
param grpc [GRPC::BadStatus].
Constructor Details
#initialize(grpc:) ⇒ TransportDetails
param grpc [GRPC::BadStatus]
15 16 17 |
# File 'lib/momento/error/transport_details.rb', line 15 def initialize(grpc:) @grpc = GrpcDetails.new(grpc) end |
Instance Attribute Details
#grpc ⇒ Momento::Error::GrpcDetails (readonly)
Details specific to GRPC.
12 13 14 |
# File 'lib/momento/error/transport_details.rb', line 12 def grpc @grpc end |