Exception: Tapjoy::AutoscalingBootstrap::Errors::ELB::NameTooLong

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

Overview

Raise if ELB Name is too long

Instance Method Summary collapse

Constructor Details

#initializeNameTooLong

Returns a new instance of NameTooLong.



17
18
19
20
21
22
# File 'lib/tapjoy/autoscaling_bootstrap/errors/elb.rb', line 17

def initialize
  elb_name = Tapjoy::AutoscalingBootstrap.elb_name
  error = "ELB Name too long: #{elb_name.length} characters. " \
  'Must be less than 32'
  abort(error)
end