Exception: Temporalio::Error::RPCError

Inherits:
Temporalio::Error show all
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

Instance Method Summary collapse

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#codeCode (readonly)

Returns Status code for the error.

Returns:

  • (Code)

    Status code for the error.



101
102
103
# File 'lib/temporalio/error.rb', line 101

def code
  @code
end

Instance Method Details

#grpc_statusApi::Common::V1::GrpcStatus

Returns Status of the gRPC call with details.

Returns:



111
112
113
# File 'lib/temporalio/error.rb', line 111

def grpc_status
  @grpc_status ||= create_grpc_status
end