Exception: Temporalio::Error::RPCError
- Inherits:
-
Temporalio::Error
- Object
- StandardError
- Temporalio::Error
- Temporalio::Error::RPCError
- Defined in:
- lib/temporalio/error.rb
Overview
Error raised by a client for a general RPC failure.
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ Code
readonly
Status code for the error.
Instance Method Summary collapse
-
#grpc_status ⇒ Api::Common::V1::GrpcStatus
Status of the gRPC call with details.
Methods inherited from Temporalio::Error
Instance Attribute Details
#code ⇒ Code (readonly)
Returns Status code for the error.
101 102 103 |
# File 'lib/temporalio/error.rb', line 101 def code @code end |
Instance Method Details
#grpc_status ⇒ Api::Common::V1::GrpcStatus
Returns Status of the gRPC call with details.
111 112 113 |
# File 'lib/temporalio/error.rb', line 111 def grpc_status @grpc_status ||= create_grpc_status end |