Exception: DagMe::CorruptionError
- Defined in:
- lib/dag_me/errors.rb
Overview
Raised by Graph#validate! when the stored closure disagrees with the recursive-CTE truth. Carries the offending rows.
Instance Attribute Summary collapse
-
#discrepancies ⇒ Object
readonly
Returns the value of attribute discrepancies.
Instance Method Summary collapse
-
#initialize(message, discrepancies = []) ⇒ CorruptionError
constructor
A new instance of CorruptionError.
Constructor Details
#initialize(message, discrepancies = []) ⇒ CorruptionError
Returns a new instance of CorruptionError.
23 24 25 26 |
# File 'lib/dag_me/errors.rb', line 23 def initialize(, discrepancies = []) super() @discrepancies = discrepancies end |
Instance Attribute Details
#discrepancies ⇒ Object (readonly)
Returns the value of attribute discrepancies.
21 22 23 |
# File 'lib/dag_me/errors.rb', line 21 def discrepancies @discrepancies end |