Exception: Humidifier::Stack::TemplateTooLargeError

Inherits:
Error
  • Object
show all
Defined in:
lib/humidifier/stack.rb

Instance Method Summary collapse

Constructor Details

#initialize(bytesize) ⇒ TemplateTooLargeError

Returns a new instance of TemplateTooLargeError.


13
14
15
16
17
18
19
20
# File 'lib/humidifier/stack.rb', line 13

def initialize(bytesize)
  super(
    "Cannot use a template > #{MAX_TEMPLATE_URL_SIZE} bytes " \
    "(currently #{bytesize} bytes), consider using nested stacks " \
    '(http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide' \
    '/aws-properties-stack.html)'
  )
end