Exception: Odin::Transform::TransformEngine::TransformAbortError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/odin/transform/transform_engine.rb

Overview

Execution guard abort (fuel, timeout, or depth). Not downgraded by the onError policy; the execute boundary surfaces it as a failed result.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transform_error) ⇒ TransformAbortError

Returns a new instance of TransformAbortError.



64
65
66
67
# File 'lib/odin/transform/transform_engine.rb', line 64

def initialize(transform_error)
  @transform_error = transform_error
  super(transform_error.message)
end

Instance Attribute Details

#transform_errorObject (readonly)

Returns the value of attribute transform_error.



62
63
64
# File 'lib/odin/transform/transform_engine.rb', line 62

def transform_error
  @transform_error
end