Exception: Tapjoy::AutoscalingBootstrap::Errors::IncorrectNumberIds

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/tapjoy/autoscaling_bootstrap/errors.rb

Overview

Raise if an incorrect number of instance ids have been specified

Instance Method Summary collapse

Constructor Details

#initializeIncorrectNumberIds

Returns a new instance of IncorrectNumberIds.



31
32
33
34
35
# File 'lib/tapjoy/autoscaling_bootstrap/errors.rb', line 31

def initialize
  error = 'Number of instance IDs specified must match the number '\
  'of instances scaled down'
  abort(error)
end