Sha256: e63ceaee5783b9720d940861928e89887e4fbc131a2ec07c177072f0da2ab305
Contents?: true
Size: 350 Bytes
Versions: 8
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true module BusinessFlow # Exception raised by DSL when flow execution fails class FlowFailedException < RuntimeError attr_reader :flow def initialize(flow) errors = flow.errors.full_messages.join(', ') super("Failed execution of #{flow.class.name}: #{errors}") @flow = flow end end end
Version data entries
8 entries across 8 versions & 1 rubygems