Exception: Setl::DestinationError

Inherits:
ETLError
  • Object
show all
Defined in:
lib/setl/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(row, message = nil, cause = $!) ⇒ DestinationError

Returns a new instance of DestinationError.



25
26
27
28
29
# File 'lib/setl/errors.rb', line 25

def initialize(row, message=nil, cause=$!)
  super message
  @row = row
  @cause = cause
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause.



31
32
33
# File 'lib/setl/errors.rb', line 31

def cause
  @cause
end

#rowObject (readonly)

Returns the value of attribute row.



31
32
33
# File 'lib/setl/errors.rb', line 31

def row
  @row
end