Sha256: 54a1363f86bf99683436d41affbb4c9a24dcd3cb67f7b4cde206ffc78c82f8e4
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true module Floe class Workflow module States class Fail < Floe::Workflow::State attr_reader :cause, :error def initialize(workflow, name, payload) super @cause = payload["Cause"] @error = payload["Error"] @end = true end def run!(input) [nil, input] end def status "errored" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
floe-0.2.3 | lib/floe/workflow/states/fail.rb |
floe-0.2.2 | lib/floe/workflow/states/fail.rb |