Exception: Tapjoy::AutoscalingBootstrap::Errors::IncorrectNumberIds
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Tapjoy::AutoscalingBootstrap::Errors::IncorrectNumberIds
- Defined in:
- lib/tapjoy/autoscaling_bootstrap/errors.rb
Overview
Raise if an incorrect number of instance ids have been specified
Instance Method Summary collapse
-
#initialize ⇒ IncorrectNumberIds
constructor
A new instance of IncorrectNumberIds.
Constructor Details
#initialize ⇒ IncorrectNumberIds
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 |