Exception: Smith::DeterministicStepFailure

Inherits:
WorkflowError show all
Defined in:
lib/smith/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, retryable: nil, kind: nil, details: nil) ⇒ DeterministicStepFailure

Returns a new instance of DeterministicStepFailure.



68
69
70
71
72
73
# File 'lib/smith/errors.rb', line 68

def initialize(message, retryable: nil, kind: nil, details: nil)
  @retryable = retryable
  @kind = kind
  @details = details
  super(message)
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



66
67
68
# File 'lib/smith/errors.rb', line 66

def details
  @details
end

#kindObject (readonly)

Returns the value of attribute kind.



66
67
68
# File 'lib/smith/errors.rb', line 66

def kind
  @kind
end

#retryableObject (readonly)

Returns the value of attribute retryable.



66
67
68
# File 'lib/smith/errors.rb', line 66

def retryable
  @retryable
end