Sha256: 7772afe004ccc5a3c7d7234f0fc2c876634343ab242293ebb2a76316bf240008
Contents?: true
Size: 319 Bytes
Versions: 20
Compression:
Stored size: 319 Bytes
Contents
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
20 entries across 20 versions & 1 rubygems