Exception: Temporalio::Error::ServerError

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

Overview

Error originating in the Temporal server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#non_retryableBoolean (readonly)

Returns Whether this error is non-retryable.

Returns:

  • (Boolean)

    Whether this error is non-retryable.



120
121
122
# File 'lib/temporalio/error/failure.rb', line 120

def non_retryable
  @non_retryable
end

Instance Method Details

#retryable?Boolean

Returns Inverse of #non_retryable.

Returns:



129
130
131
# File 'lib/temporalio/error/failure.rb', line 129

def retryable?
  !@non_retryable
end