Exception: Temporalio::Error::NexusHandlerError

Inherits:
Failure show all
Defined in:
lib/temporalio/error/failure.rb

Overview

Error raised from a Nexus handler.

WARNING: Nexus support is experimental.

Defined Under Namespace

Modules: RetryBehavior

Instance Attribute Summary collapse

Method Summary

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#error_typeSymbol (readonly)

Returns Error type from the handler.

Returns:

  • (Symbol)

    Error type from the handler.



271
272
273
# File 'lib/temporalio/error/failure.rb', line 271

def error_type
  @error_type
end

#retry_behaviorRetryBehavior (readonly)

Returns Retry behavior for the error.

Returns:



274
275
276
# File 'lib/temporalio/error/failure.rb', line 274

def retry_behavior
  @retry_behavior
end