Exception: Humidifier::SdkPayload::TemplateTooLargeError
- Inherits:
-
StandardError
- Object
- StandardError
- Humidifier::SdkPayload::TemplateTooLargeError
- Defined in:
- lib/humidifier/sdk_payload.rb
Overview
Thrown when a template is too large to use the template_url option
Instance Method Summary collapse
-
#initialize(bytesize) ⇒ TemplateTooLargeError
constructor
A new instance of TemplateTooLargeError.
Constructor Details
#initialize(bytesize) ⇒ TemplateTooLargeError
Returns a new instance of TemplateTooLargeError.
15 16 17 18 19 20 21 |
# File 'lib/humidifier/sdk_payload.rb', line 15 def initialize(bytesize) = <<-MSG 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) MSG super() end |