Sha256: fc089fe7c8f8c443a5c85a75738ff54d95fe0163983772bea1843005f73f224f
Contents?: true
Size: 429 Bytes
Versions: 6
Compression:
Stored size: 429 Bytes
Contents
class ErrorProcessor < ETL::Processor::RowProcessor def initialize(control, configuration) super end def process(row) raise RuntimeError, "Generated error" end end set_error_threshold 1 source :in, { :type => :enumerable, :enumerable => [ {:first_name => 'Bob',:last_name => 'Smith'}, {:first_name => 'Joe', :last_name => 'Thompson'} ] }, [ :first_name, :last_name ] after_read ErrorProcessor
Version data entries
6 entries across 6 versions & 4 rubygems