Exception: PartitionGardener::RunFailed
- Inherits:
-
StandardError
- Object
- StandardError
- PartitionGardener::RunFailed
- Defined in:
- lib/partition_gardener/run_failed.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ RunFailed
constructor
A new instance of RunFailed.
Constructor Details
#initialize(errors) ⇒ RunFailed
Returns a new instance of RunFailed.
5 6 7 8 |
# File 'lib/partition_gardener/run_failed.rb', line 5 def initialize(errors) @errors = errors super("Partition maintenance failed for #{errors.size} table(s)") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
3 4 5 |
# File 'lib/partition_gardener/run_failed.rb', line 3 def errors @errors end |