Exception: PartitionGardener::RunFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/partition_gardener/run_failed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



3
4
5
# File 'lib/partition_gardener/run_failed.rb', line 3

def errors
  @errors
end