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.



293
294
295
# File 'lib/temporalio/error/failure.rb', line 293

def error_type
  @error_type
end

#retry_behaviorRetryBehavior (readonly)

Returns Retry behavior for the error.

Returns:



296
297
298
# File 'lib/temporalio/error/failure.rb', line 296

def retry_behavior
  @retry_behavior
end