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.



138
139
140
# File 'lib/temporalio/error/failure.rb', line 138

def non_retryable
  @non_retryable
end

Instance Method Details

#retryable?Boolean

Returns Inverse of #non_retryable.

Returns:



147
148
149
# File 'lib/temporalio/error/failure.rb', line 147

def retryable?
  !@non_retryable
end