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.
19 20 21 22 23 24 25 26 |
# File 'lib/humidifier/sdk_payload.rb', line 19 def initialize(bytesize) = "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)' super() end |