Exception: Setl::DestinationError
- Defined in:
- lib/setl/errors.rb
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#row ⇒ Object
readonly
Returns the value of attribute row.
Instance Method Summary collapse
-
#initialize(row, message = nil, cause = $!) ⇒ DestinationError
constructor
A new instance of DestinationError.
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, =nil, cause=$!) super @row = row @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
31 32 33 |
# File 'lib/setl/errors.rb', line 31 def cause @cause end |
#row ⇒ Object (readonly)
Returns the value of attribute row.
31 32 33 |
# File 'lib/setl/errors.rb', line 31 def row @row end |