Class: Temporalio::Error::NexusHandlerError

Inherits:
Failure
  • Object
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

Instance Attribute Details

#error_typeSymbol (readonly)

Returns Error type from the handler.

Returns:

  • (Symbol)

    Error type from the handler.



291
292
293
# File 'lib/temporalio/error/failure.rb', line 291

def error_type
  @error_type
end

#retry_behaviorRetryBehavior (readonly)

Returns Retry behavior for the error.

Returns:



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

def retry_behavior
  @retry_behavior
end